#B8C52C#B8C52C
#B8C52C is a light, vivid yellow. Relative luminance 0.503; OKLCH L 78.8% C 0.165 H 114.6°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).
Color values
| HEX | #B8C52C |
|---|---|
| RGB | rgb(184, 197, 44) |
| HSL | hsl(65, 63%, 47%) |
| HSV | hsv(65, 78%, 77%) |
| CMYK | cmyk(6.6%, 0%, 77.7%, 22.7%) |
| CIE-LAB | lab(76.26, -22.37, 68.90) |
| CIE-LCH | lch(76.26, 72.44, 107.99°) |
| OKLab | oklab(78.77% -0.0689 0.1505) |
| OKLCH | oklch(78.77% 0.165 114.6) |
| XYZ | xyz(40.1893, 50.3055, 9.9752) |
| Luminance | 0.5030 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 1.64
Bile
#B5C306
ΔE00 1.65
Snot
#ACBB0D
ΔE00 2.90
Green Yellow
#B5CE08
ΔE00 3.19
Pea
#A4BF20
ΔE00 3.69
Gross Green
#A0BF16
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8C52C #392CC5
analogous
#C5862C #B8C52C #6CC52C
triadic
#B8C52C #2CB8C5 #C52CB8
tetradic
#B8C52C #2CC586 #392CC5 #C52C6C
square
#B8C52C #2CC586 #392CC5 #C52C6C
split-complementary
#B8C52C #2C6CC5 #862CC5
monochromatic
#5B6116 #899321 #B8C52C #CED955 #DCE487
Accessibility & contrast
On white
1.90
#B8C52C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.06
#B8C52C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8C52C
11.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8C52C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8C52C | 1.00 | 1.90 | 11.06 | 11.06 |
| #FFFFFF | 1.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D3BD3A
Tritanopia (blue-blind)
#C4B9A9
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #b8c52c; /* rgb */ color: rgb(184, 197, 44); /* oklch */ color: oklch(78.8% 0.165 114.6);
Tailwind
colors: {
custom: {
50: '#d1d673',
500: '#b8c52c',
950: '#000000',
},
}SCSS
$custom: #b8c52c; $custom-light: #d1d673; $custom-dark: #000000;
JSON
{
"hex": "#b8c52c",
"rgb": {
"r": 184,
"g": 197,
"b": 44
},
"hsl": {
"h": 65.098,
"s": 63.485,
"l": 47.255
},
"oklch": {
"l": 0.78766,
"c": 0.16547,
"h": 114.6
},
"luminance": 0.50305
}Semantic roles & 50–950 ramp
primary
#B8C52C
secondary
#2F296C
accent
#41E74F
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D