#B9CD40#B9CD40
#B9CD40 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 80.8% C 0.162 H 117.2°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).
Color values
| HEX | #B9CD40 |
|---|---|
| RGB | rgb(185, 205, 64) |
| HSL | hsl(69, 59%, 53%) |
| HSV | hsv(69, 69%, 80%) |
| CMYK | cmyk(9.8%, 0%, 68.8%, 19.6%) |
| CIE-LAB | lab(78.66, -24.90, 64.51) |
| CIE-LCH | lch(78.66, 69.15, 111.10°) |
| OKLab | oklab(80.75% -0.0742 0.1445) |
| OKLCH | oklch(80.75% 0.162 117.2) |
| XYZ | xyz(42.7653, 54.3476, 13.0868) |
| Luminance | 0.5435 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.09
Baby Puke Green
#B6C406
ΔE00 3.98
Bile
#B5C306
ΔE00 4.07
Pea
#A4BF20
ΔE00 4.30
Gross Green
#A0BF16
ΔE00 4.81
Snot Green
#9DC100
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9CD40 #5440CD
analogous
#CD9B40 #B9CD40 #72CD40
triadic
#B9CD40 #40B9CD #CD40B9
tetradic
#B9CD40 #40CD9B #5440CD #CD4072
square
#B9CD40 #40CD9B #5440CD #CD4072
split-complementary
#B9CD40 #4072CD #9B40CD
monochromatic
#68741E #93A52B #B9CD40 #CBDA71 #DDE6A1
Accessibility & contrast
On white
1.77
#B9CD40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.87
#B9CD40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9CD40
11.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9CD40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9CD40 | 1.00 | 1.77 | 11.87 | 11.87 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC22A
Deuteranopia (green-blind)
#D9C44B
Tritanopia (blue-blind)
#C4C2B1
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #b9cd40; /* rgb */ color: rgb(185, 205, 64); /* oklch */ color: oklch(80.8% 0.162 117.2);
Tailwind
colors: {
custom: {
50: '#d1dc7d',
500: '#b9cd40',
950: '#000000',
},
}SCSS
$custom: #b9cd40; $custom-light: #d1dc7d; $custom-dark: #000000;
JSON
{
"hex": "#b9cd40",
"rgb": {
"r": 185,
"g": 205,
"b": 64
},
"hsl": {
"h": 68.511,
"s": 58.506,
"l": 52.745
},
"oklch": {
"l": 0.80753,
"c": 0.16246,
"h": 117.2
},
"luminance": 0.54347
}Semantic roles & 50–950 ramp
primary
#B9CD40
secondary
#3F347D
accent
#46E25C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D