#B8CA2A#B8CA2A
#B8CA2A is a light, vivid yellow. Relative luminance 0.526; OKLCH L 79.9% C 0.172 H 116.3°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).
Color values
| HEX | #B8CA2A |
|---|---|
| RGB | rgb(184, 202, 42) |
| HSL | hsl(67, 66%, 48%) |
| HSV | hsv(67, 79%, 79%) |
| CMYK | cmyk(8.9%, 0%, 79.2%, 20.8%) |
| CIE-LAB | lab(77.64, -24.88, 70.71) |
| CIE-LCH | lch(77.64, 74.96, 109.38°) |
| OKLab | oklab(79.87% -0.076 0.154) |
| OKLCH | oklch(79.87% 0.172 116.3) |
| XYZ | xyz(41.3068, 52.5992, 10.1667) |
| Luminance | 0.5260 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 1.91
Baby Puke Green
#B6C406
ΔE00 2.16
Bile
#B5C306
ΔE00 2.30
Pea
#A4BF20
ΔE00 3.84
Snot
#ACBB0D
ΔE00 3.90
Gross Green
#A0BF16
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8CA2A #3C2ACA
analogous
#CA8C2A #B8CA2A #68CA2A
triadic
#B8CA2A #2AB8CA #CA2AB8
tetradic
#B8CA2A #2ACA8C #3C2ACA #CA2A68
square
#B8CA2A #2ACA8C #3C2ACA #CA2A68
split-complementary
#B8CA2A #2A68CA #8C2ACA
monochromatic
#5C6515 #8A971F #B8CA2A #CDDC55 #DCE688
Accessibility & contrast
On white
1.82
#B8CA2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.52
#B8CA2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8CA2A
11.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8CA2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8CA2A | 1.00 | 1.82 | 11.52 | 11.52 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8BF00
Deuteranopia (green-blind)
#D7C13A
Tritanopia (blue-blind)
#C4BEAD
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #b8ca2a; /* rgb */ color: rgb(184, 202, 42); /* oklch */ color: oklch(79.9% 0.172 116.3);
Tailwind
colors: {
custom: {
50: '#d1da72',
500: '#b8ca2a',
950: '#000000',
},
}SCSS
$custom: #b8ca2a; $custom-light: #d1da72; $custom-dark: #000000;
JSON
{
"hex": "#b8ca2a",
"rgb": {
"r": 184,
"g": 202,
"b": 42
},
"hsl": {
"h": 66.75,
"s": 65.574,
"l": 47.843
},
"oklch": {
"l": 0.79872,
"c": 0.17168,
"h": 116.3
},
"luminance": 0.52599
}Semantic roles & 50–950 ramp
primary
#B8CA2A
secondary
#31296F
accent
#3FE952
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D