#B9C52F#B9C52F
#B9C52F is a light, vivid yellow. Relative luminance 0.505; 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 | #B9C52F |
|---|---|
| RGB | rgb(185, 197, 47) |
| HSL | hsl(65, 61%, 48%) |
| HSV | hsv(65, 76%, 77%) |
| CMYK | cmyk(6.1%, 0%, 76.1%, 22.7%) |
| CIE-LAB | lab(76.35, -21.83, 68.11) |
| CIE-LCH | lch(76.35, 71.52, 107.77°) |
| OKLab | oklab(78.86% -0.0672 0.1492) |
| OKLCH | oklch(78.86% 0.164 114.2) |
| XYZ | xyz(40.4882, 50.4528, 10.2943) |
| Luminance | 0.5045 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 1.83
Bile
#B5C306
ΔE00 1.84
Snot
#ACBB0D
ΔE00 3.02
Green Yellow
#B5CE08
ΔE00 3.39
Pea
#A4BF20
ΔE00 3.86
Puke Yellow
#C2BE0E
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9C52F #3B2FC5
analogous
#C5862F #B9C52F #6EC52F
triadic
#B9C52F #2FB9C5 #C52FB9
tetradic
#B9C52F #2FC586 #3B2FC5 #C52F6E
square
#B9C52F #2FC586 #3B2FC5 #C52F6E
split-complementary
#B9C52F #2F6EC5 #862FC5
monochromatic
#5C6217 #8B9423 #B9C52F #CDD85A #DCE38B
Accessibility & contrast
On white
1.89
#B9C52F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.09
#B9C52F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9C52F
11.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9C52F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9C52F | 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)
#D4BB04
Deuteranopia (green-blind)
#D3BE3C
Tritanopia (blue-blind)
#C5B9A9
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #b9c52f; /* rgb */ color: rgb(185, 197, 47); /* oklch */ color: oklch(78.9% 0.164 114.2);
Tailwind
colors: {
custom: {
50: '#d2d674',
500: '#b9c52f',
950: '#000000',
},
}SCSS
$custom: #b9c52f; $custom-light: #d2d674; $custom-dark: #000000;
JSON
{
"hex": "#b9c52f",
"rgb": {
"r": 185,
"g": 197,
"b": 47
},
"hsl": {
"h": 64.8,
"s": 61.475,
"l": 47.843
},
"oklch": {
"l": 0.78861,
"c": 0.16368,
"h": 114.2
},
"luminance": 0.50452
}Semantic roles & 50–950 ramp
primary
#B9C52F
secondary
#312B6D
accent
#43E550
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D