#B9C92A#B9C92A
#B9C92A is a light, vivid yellow. Relative luminance 0.523; OKLCH L 79.7% C 0.170 H 115.6°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).
Color values
| HEX | #B9C92A |
|---|---|
| RGB | rgb(185, 201, 42) |
| HSL | hsl(66, 65%, 48%) |
| HSV | hsv(66, 79%, 79%) |
| CMYK | cmyk(8%, 0%, 79.1%, 21.2%) |
| CIE-LAB | lab(77.43, -23.98, 70.56) |
| CIE-LCH | lch(77.43, 74.52, 108.77°) |
| OKLab | oklab(79.73% -0.0735 0.1536) |
| OKLCH | oklch(79.73% 0.17 115.6) |
| XYZ | xyz(41.3133, 52.2554, 10.1000) |
| Luminance | 0.5225 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 1.88
Bile
#B5C306
ΔE00 2.02
Green Yellow
#B5CE08
ΔE00 2.22
Snot
#ACBB0D
ΔE00 3.68
Pea
#A4BF20
ΔE00 3.94
Gross Green
#A0BF16
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9C92A #3A2AC9
analogous
#C98A2A #B9C92A #69C92A
triadic
#B9C92A #2AB9C9 #C92AB9
tetradic
#B9C92A #2AC98A #3A2AC9 #C92A69
square
#B9C92A #2AC98A #3A2AC9 #C92A69
split-complementary
#B9C92A #2A69C9 #8A2AC9
monochromatic
#5C6415 #8A961F #B9C92A #CEDB55 #DCE687
Accessibility & contrast
On white
1.83
#B9C92A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.45
#B9C92A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9C92A
11.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9C92A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9C92A | 1.00 | 1.83 | 11.45 | 11.45 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8BE00
Deuteranopia (green-blind)
#D6C03A
Tritanopia (blue-blind)
#C5BDAC
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #b9c92a; /* rgb */ color: rgb(185, 201, 42); /* oklch */ color: oklch(79.7% 0.170 115.6);
Tailwind
colors: {
custom: {
50: '#d2d972',
500: '#b9c92a',
950: '#000000',
},
}SCSS
$custom: #b9c92a; $custom-light: #d2d972; $custom-dark: #000000;
JSON
{
"hex": "#b9c92a",
"rgb": {
"r": 185,
"g": 201,
"b": 42
},
"hsl": {
"h": 66.038,
"s": 65.432,
"l": 47.647
},
"oklch": {
"l": 0.79726,
"c": 0.17028,
"h": 115.6
},
"luminance": 0.52255
}Semantic roles & 50–950 ramp
primary
#B9C92A
secondary
#30296E
accent
#3FE850
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D