#CBD02F#CBD02F
#CBD02F is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 82.7% C 0.170 H 111.4°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).
Color values
| HEX | #CBD02F |
|---|---|
| RGB | rgb(203, 208, 47) |
| HSL | hsl(62, 63%, 50%) |
| HSV | hsv(62, 77%, 82%) |
| CMYK | cmyk(2.4%, 0%, 77.4%, 18.4%) |
| CIE-LAB | lab(80.75, -19.67, 72.61) |
| CIE-LCH | lch(80.75, 75.23, 105.16°) |
| OKLab | oklab(82.73% -0.0621 0.1582) |
| OKLCH | oklch(82.73% 0.17 111.4) |
| XYZ | xyz(47.6993, 58.0148, 11.3741) |
| Luminance | 0.5801 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 3.95
Piss Yellow
#DDD618
ΔE00 3.97
Dirty Yellow
#CDC50A
ΔE00 4.07
Bile
#B5C306
ΔE00 4.17
Green Yellow
#B5CE08
ΔE00 4.26
Vomit Yellow
#C7C10C
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBD02F #342FD0
analogous
#D0842F #CBD02F #7BD02F
triadic
#CBD02F #2FCBD0 #D02FCB
tetradic
#CBD02F #2FD084 #342FD0 #D02F7B
square
#CBD02F #2FD084 #342FD0 #D02F7B
split-complementary
#CBD02F #2F7BD0 #842FD0
monochromatic
#6A6C18 #9A9E24 #CBD02F #D7DB61 #E4E793
Accessibility & contrast
On white
1.67
#CBD02F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.60
#CBD02F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBD02F
12.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBD02F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBD02F | 1.00 | 1.67 | 12.60 | 12.60 |
| #FFFFFF | 1.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E0C600
Deuteranopia (green-blind)
#E1CA3E
Tritanopia (blue-blind)
#D9C3B2
Achromatopsia (no color)
#C8C8C8
Design tokens & code
CSS
--color: #cbd02f; /* rgb */ color: rgb(203, 208, 47); /* oklch */ color: oklch(82.7% 0.170 111.4);
Tailwind
colors: {
custom: {
50: '#dfde76',
500: '#cbd02f',
950: '#000000',
},
}SCSS
$custom: #cbd02f; $custom-light: #dfde76; $custom-dark: #000000;
JSON
{
"hex": "#cbd02f",
"rgb": {
"r": 203,
"g": 208,
"b": 47
},
"hsl": {
"h": 61.863,
"s": 63.137,
"l": 50
},
"oklch": {
"l": 0.82729,
"c": 0.16995,
"h": 111.4
},
"luminance": 0.58013
}Semantic roles & 50–950 ramp
primary
#CBD02F
secondary
#302E76
accent
#42E647
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#161509
muted
#84847D