#B9CD38#B9CD38
#B9CD38 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 80.7% C 0.167 H 117.0°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).
Color values
| HEX | #B9CD38 |
|---|---|
| RGB | rgb(185, 205, 56) |
| HSL | hsl(68, 60%, 51%) |
| HSV | hsv(68, 73%, 80%) |
| CMYK | cmyk(9.8%, 0%, 72.7%, 19.6%) |
| CIE-LAB | lab(78.61, -25.32, 67.31) |
| CIE-LCH | lch(78.61, 71.92, 110.61°) |
| OKLab | oklab(80.7% -0.0761 0.1491) |
| OKLCH | oklch(80.7% 0.167 117) |
| XYZ | xyz(42.5537, 54.2630, 11.9727) |
| Luminance | 0.5426 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.40
Baby Puke Green
#B6C406
ΔE00 3.42
Bile
#B5C306
ΔE00 3.54
Pea
#A4BF20
ΔE00 4.20
Gross Green
#A0BF16
ΔE00 4.68
Snot
#ACBB0D
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9CD38 #4C38CD
analogous
#CD9638 #B9CD38 #6ECD38
triadic
#B9CD38 #38B9CD #CD38B9
tetradic
#B9CD38 #38CD96 #4C38CD #CD386E
square
#B9CD38 #38CD96 #4C38CD #CD386E
split-complementary
#B9CD38 #386ECD #9638CD
monochromatic
#646F1C #90A028 #B9CD38 #CAD969 #DBE69A
Accessibility & contrast
On white
1.77
#B9CD38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.85
#B9CD38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9CD38
11.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9CD38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9CD38 | 1.00 | 1.77 | 11.85 | 11.85 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC21A
Deuteranopia (green-blind)
#D9C345
Tritanopia (blue-blind)
#C5C1B0
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #b9cd38; /* rgb */ color: rgb(185, 205, 56); /* oklch */ color: oklch(80.7% 0.167 117.0);
Tailwind
colors: {
custom: {
50: '#d2dc79',
500: '#b9cd38',
950: '#000000',
},
}SCSS
$custom: #b9cd38; $custom-light: #d2dc79; $custom-dark: #000000;
JSON
{
"hex": "#b9cd38",
"rgb": {
"r": 185,
"g": 205,
"b": 56
},
"hsl": {
"h": 68.054,
"s": 59.839,
"l": 51.176
},
"oklch": {
"l": 0.80698,
"c": 0.1674,
"h": 117
},
"luminance": 0.54262
}Semantic roles & 50–950 ramp
primary
#B9CD38
secondary
#3B3178
accent
#45E35A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D