#B9C52C#B9C52C
#B9C52C is a light, vivid yellow. Relative luminance 0.504; OKLCH L 78.8% C 0.165 H 114.2°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).
Color values
| HEX | #B9C52C |
|---|---|
| RGB | rgb(185, 197, 44) |
| HSL | hsl(65, 63%, 47%) |
| HSV | hsv(65, 78%, 77%) |
| CMYK | cmyk(6.1%, 0%, 77.7%, 22.7%) |
| CIE-LAB | lab(76.33, -21.95, 69.00) |
| CIE-LCH | lch(76.33, 72.41, 107.65°) |
| OKLab | oklab(78.85% -0.0678 0.1506) |
| OKLCH | oklch(78.85% 0.165 114.2) |
| XYZ | xyz(40.4297, 50.4294, 9.9865) |
| Luminance | 0.5043 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 1.61
Bile
#B5C306
ΔE00 1.64
Snot
#ACBB0D
ΔE00 2.96
Green Yellow
#B5CE08
ΔE00 3.30
Pea
#A4BF20
ΔE00 3.89
Puke Yellow
#C2BE0E
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9C52C #382CC5
analogous
#C5852C #B9C52C #6DC52C
triadic
#B9C52C #2CB9C5 #C52CB9
tetradic
#B9C52C #2CC585 #382CC5 #C52C6D
square
#B9C52C #2CC585 #382CC5 #C52C6D
split-complementary
#B9C52C #2C6DC5 #852CC5
monochromatic
#5B6116 #8A9321 #B9C52C #CFD955 #DDE487
Accessibility & contrast
On white
1.89
#B9C52C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.09
#B9C52C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9C52C
11.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9C52C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9C52C | 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)
#D3BE3A
Tritanopia (blue-blind)
#C6B9A9
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #b9c52c; /* rgb */ color: rgb(185, 197, 44); /* oklch */ color: oklch(78.8% 0.165 114.2);
Tailwind
colors: {
custom: {
50: '#d2d673',
500: '#b9c52c',
950: '#000000',
},
}SCSS
$custom: #b9c52c; $custom-light: #d2d673; $custom-dark: #000000;
JSON
{
"hex": "#b9c52c",
"rgb": {
"r": 185,
"g": 197,
"b": 44
},
"hsl": {
"h": 64.706,
"s": 63.485,
"l": 47.255
},
"oklch": {
"l": 0.78845,
"c": 0.16517,
"h": 114.2
},
"luminance": 0.50429
}Semantic roles & 50–950 ramp
primary
#B9C52C
secondary
#2F296C
accent
#41E74E
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D