#ceab5f
a balanced, vivid yellow · warm · closest name: Goldenrod
At a glance
Every number on this page in one read: what #ceab5f is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #ceab5f |
| RGB | rgb(206, 171, 95) |
| HSL | hsl(41, 53%, 59%) |
| CMYK | cmyk(0%, 17%, 54%, 19%) |
| LAB | lab(71.6 3.5 43.5) |
| LCH | lch(71.6 43.7 85.4) |
| OKLCH | oklch(0.757 0.103 85.2) |
| Decimal | 13544287 |
| Display P3 | color(display-p3 0.808 0.671 0.373) |
Copy-ready code
/* CSS */
color: #ceab5f;
background-color: #ceab5f;
/* Tailwind (arbitrary) */
class="text-[#ceab5f] bg-[#ceab5f]"
/* SCSS */
$brand: #ceab5f;
/* SwiftUI */
Color(red: 0.808, green: 0.671, blue: 0.373)
/* Android */
Color.parseColor("#ceab5f")
/* Flutter */
Color(0xFFCEAB5F)
/* Python / OpenCV (BGR) */
(95, 171, 206)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #ceab5f is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #FBF9F4;
--brand-100: #F6F2E9;
--brand-200: #EDE4CE;
--brand-300: #E5D2A9;
--brand-400: #D8BB7E;
--brand-500: #ceab5f;
--brand-600: #BB9239;
--brand-700: #9C7A30;
--brand-800: #7D6226;
--brand-900: #5B481F;
--brand-950: #392D14;
--brand: #ceab5f;
--brand-ink: #000000;
}Colors that work with #ceab5f
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #ceab5f
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Brand accents, badges and data highlights
- ⚠Text of any size on white — fails WCAG AA
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠Thin strokes and 1px borders — they disappear on light UI
- ⚠Pairing with a same-lightness hue — edges vibrate
Similar colors
One move away from this hex in each direction. Every swatch is its own page.
Color relationships
The wheel positions with their names attached, so you can grab the one you actually need.
| Complementary | #5F82CE | Directly opposite — maximum tension | |
| Analogous left | #CE735F | Neighbour, quieter | |
| Analogous right | #B9CE5F | Neighbour, quieter | |
| Split-complement 1 | #5FB9CE | Contrast without the clash | |
| Split-complement 2 | #735FCE | Contrast without the clash | |
| Triadic 1 | #5FCEAB | Even thirds — balanced and loud | |
| Triadic 2 | #AB5FCE | Even thirds — balanced and loud | |
| Tetradic | #5FCE73 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#ceab5f text on a black background
contrast 9.61:1
#ceab5f text on a white background
contrast 2.18:1
CSS3 live lab
The quick brown fox
color: #ceab5f;
background-color: #ceab5f;
Glowing headline
text-shadow: 2px 2px 8px #ceab5f;
Soft neon halo
text-shadow: 0 0 14px rgba(206, 171, 95, 0.45);
box-shadow: 0 12px 32px -8px rgba(206, 171, 95, 0.45);
border: 3px solid #ceab5f; background: linear-gradient(135deg, #ceab5f, #A7CE5F);
Monochromatic scale
Palettes built from #ceab5f
Shades — darker
Tints — lighter
Color harmonies
Nearest named colors
Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.
Closest color with a full write-up: Sand (#c2b280) — ΔE2000 7.3 away, with its history, psychology and brand usage.
#ceab5f in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#ceab5f, answered
What color is #ceab5f?
#ceab5f is a balanced vivid yellow, closest to Goldenrod (ΔE2000 7.4). It sits at 41° on the hue wheel with 53% saturation and 59% lightness, which reads as warm.
What is the RGB value of #ceab5f?
rgb(206, 171, 95) — 206 red, 171 green and 95 blue out of 255, or 80.8% / 67.1% / 37.3% by channel.
Is #ceab5f a light or a dark color?
It is a mid-tone. Relative luminance is 0.4307 and perceived brightness is 69%, so black text on it reaches 9.61:1.
Should I use black or white text on #ceab5f?
Black. It scores 9.61:1 against #ceab5f, versus 2.18:1 for white — AAA at any size.
What is the complementary color of #ceab5f?
#5F82CE sits directly opposite on the wheel. Softer options are the split-complements #5FB9CE and #735FCE, which give the same contrast with far less vibration.
What colors go well with #ceab5f?
For interface work: #FAF8F4 as the surface, #ECDEC1 for borders, #9B824B for secondary text, #2C6DA0 as an accent and #624C1E for hover and pressed states. For a palette, the analogous pair #CE735F and #B9CE5F stays calm, while #5F82CE is the loudest partner.
What is #ceab5f in CMYK for printing?
cmyk(0%, 17%, 54%, 19%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #ceab5f warm or cool?
Warm — it scores 9 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CE975F; nudged cooler, #CAD05D.