#CEB245#CEB245
#CEB245 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.8% C 0.130 H 94.6°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #CEB245 |
|---|---|
| RGB | rgb(206, 178, 69) |
| HSL | hsl(48, 58%, 54%) |
| HSV | hsv(48, 67%, 81%) |
| CMYK | cmyk(0%, 13.6%, 66.5%, 19.2%) |
| CIE-LAB | lab(73.15, -2.08, 57.41) |
| CIE-LCH | lch(73.15, 57.45, 92.07°) |
| OKLab | oklab(76.79% -0.0105 0.1297) |
| OKLCH | oklch(76.79% 0.13 94.6) |
| XYZ | xyz(42.4502, 45.3945, 12.1551) |
| Luminance | 0.4539 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.86
Brownish Yellow
#C9B003
ΔE00 4.50
Mustard (survey)
#CEB301
ΔE00 4.59
Dark Yellow
#D5B60A
ΔE00 4.66
Gold (survey)
#DBB40C
ΔE00 5.02
Desert
#CCAD60
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CEB245 #4561CE
analogous
#CE6E45 #CEB245 #A6CE45
triadic
#CEB245 #45CEB2 #B245CE
tetradic
#CEB245 #45CE6E #4561CE #CE45A6
square
#CEB245 #45CE6E #4561CE #CE45A6
split-complementary
#CEB245 #45A6CE #6E45CE
monochromatic
#796720 #A9902D #CEB245 #DBC675 #E8DAA6
Accessibility & contrast
On white
2.08
#CEB245 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.08
#CEB245 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CEB245
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CEB245 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CEB245 | 1.00 | 2.08 | 10.08 | 10.08 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AF37
Deuteranopia (green-blind)
#CBB74B
Tritanopia (blue-blind)
#DEA59B
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #ceb245; /* rgb */ color: rgb(206, 178, 69); /* oklch */ color: oklch(76.8% 0.130 94.6);
Tailwind
colors: {
custom: {
50: '#e0c87e',
500: '#ceb245',
950: '#000000',
},
}SCSS
$custom: #ceb245; $custom-light: #e0c87e; $custom-dark: #000000;
JSON
{
"hex": "#ceb245",
"rgb": {
"r": 206,
"g": 178,
"b": 69
},
"hsl": {
"h": 47.737,
"s": 58.298,
"l": 53.922
},
"oklch": {
"l": 0.76789,
"c": 0.13015,
"h": 94.6
},
"luminance": 0.45392
}Semantic roles & 50–950 ramp
primary
#CEB245
secondary
#9AA6D5
accent
#66E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C