#B9C52E#B9C52E
#B9C52E is a light, vivid yellow. Relative luminance 0.504; OKLCH L 78.9% C 0.164 H 114.2°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).
Color values
| HEX | #B9C52E |
|---|---|
| RGB | rgb(185, 197, 46) |
| HSL | hsl(65, 62%, 48%) |
| HSV | hsv(65, 77%, 77%) |
| CMYK | cmyk(6.1%, 0%, 76.6%, 22.7%) |
| CIE-LAB | lab(76.34, -21.87, 68.41) |
| CIE-LCH | lch(76.34, 71.82, 107.73°) |
| OKLab | oklab(78.86% -0.0674 0.1497) |
| OKLCH | oklch(78.86% 0.164 114.2) |
| XYZ | xyz(40.4682, 50.4448, 10.1893) |
| Luminance | 0.5044 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 1.75
Bile
#B5C306
ΔE00 1.77
Snot
#ACBB0D
ΔE00 3.00
Green Yellow
#B5CE08
ΔE00 3.36
Pea
#A4BF20
ΔE00 3.87
Puke Yellow
#C2BE0E
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9C52E #3A2EC5
analogous
#C5852E #B9C52E #6EC52E
triadic
#B9C52E #2EB9C5 #C52EB9
tetradic
#B9C52E #2EC585 #3A2EC5 #C52E6E
square
#B9C52E #2EC585 #3A2EC5 #C52E6E
split-complementary
#B9C52E #2E6EC5 #852EC5
monochromatic
#5C6217 #8A9322 #B9C52E #CED858 #DCE48A
Accessibility & contrast
On white
1.89
#B9C52E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.09
#B9C52E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9C52E
11.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9C52E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9C52E | 1.00 | 1.89 | 11.09 | 11.09 |
| #FFFFFF | 1.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D3BE3C
Tritanopia (blue-blind)
#C5B9A9
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #b9c52e; /* rgb */ color: rgb(185, 197, 46); /* oklch */ color: oklch(78.9% 0.164 114.2);
Tailwind
colors: {
custom: {
50: '#d2d673',
500: '#b9c52e',
950: '#000000',
},
}SCSS
$custom: #b9c52e; $custom-light: #d2d673; $custom-dark: #000000;
JSON
{
"hex": "#b9c52e",
"rgb": {
"r": 185,
"g": 197,
"b": 46
},
"hsl": {
"h": 64.768,
"s": 62.14,
"l": 47.647
},
"oklch": {
"l": 0.78856,
"c": 0.16419,
"h": 114.2
},
"luminance": 0.50444
}Semantic roles & 50–950 ramp
primary
#B9C52E
secondary
#302B6C
accent
#43E550
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D