#CFB236#CFB236
#CFB236 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.8% C 0.140 H 95.4°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB236 |
|---|---|
| RGB | rgb(207, 178, 54) |
| HSL | hsl(49, 61%, 51%) |
| HSV | hsv(49, 74%, 81%) |
| CMYK | cmyk(0%, 14%, 73.9%, 18.8%) |
| CIE-LAB | lab(73.14, -2.41, 63.40) |
| CIE-LCH | lch(73.14, 63.44, 92.18°) |
| OKLab | oklab(76.77% -0.0132 0.1397) |
| OKLCH | oklch(76.77% 0.14 95.4) |
| XYZ | xyz(42.3206, 45.3749, 10.0184) |
| Luminance | 0.4537 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.96
Mustard (survey)
#CEB301
ΔE00 3.03
Brownish Yellow
#C9B003
ΔE00 3.06
Dark Yellow
#D5B60A
ΔE00 3.13
Gold (survey)
#DBB40C
ΔE00 3.71
Burnt Yellow
#D5AB09
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB236 #3653CF
analogous
#CF6536 #CFB236 #A0CF36
triadic
#CFB236 #36CFB2 #B236CF
tetradic
#CFB236 #36CF65 #3653CF #CF36A0
square
#CFB236 #36CF65 #3653CF #CF36A0
split-complementary
#CFB236 #36A0CF #6536CF
monochromatic
#70601B #A18A27 #CFB236 #DBC567 #E7D899
Accessibility & contrast
On white
2.08
#CFB236 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.07
#CFB236 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB236
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB236 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB236 | 1.00 | 2.08 | 10.07 | 10.07 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE21
Deuteranopia (green-blind)
#CCB73E
Tritanopia (blue-blind)
#E0A49A
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #cfb236; /* rgb */ color: rgb(207, 178, 54); /* oklch */ color: oklch(76.8% 0.140 95.4);
Tailwind
colors: {
custom: {
50: '#e2c876',
500: '#cfb236',
950: '#000000',
},
}SCSS
$custom: #cfb236; $custom-light: #e2c876; $custom-dark: #000000;
JSON
{
"hex": "#cfb236",
"rgb": {
"r": 207,
"g": 178,
"b": 54
},
"hsl": {
"h": 48.627,
"s": 61.446,
"l": 51.176
},
"oklch": {
"l": 0.76767,
"c": 0.14031,
"h": 95.4
},
"luminance": 0.45373
}Semantic roles & 50–950 ramp
primary
#CFB236
secondary
#8F9BD2
accent
#62E543
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B