#B4C652#B4C652
#B4C652 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.0% C 0.142 H 117.2°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).
Color values
| HEX | #B4C652 |
|---|---|
| RGB | rgb(180, 198, 82) |
| HSL | hsl(69, 50%, 55%) |
| HSV | hsv(69, 59%, 78%) |
| CMYK | cmyk(9.1%, 0%, 58.6%, 22.4%) |
| CIE-LAB | lab(76.50, -22.32, 54.76) |
| CIE-LCH | lch(76.50, 59.13, 112.18°) |
| OKLab | oklab(78.97% -0.065 0.1265) |
| OKLCH | oklch(78.97% 0.142 117.2) |
| XYZ | xyz(40.5402, 50.7011, 15.6316) |
| Luminance | 0.5070 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Olive Green
#A4BE5C
ΔE00 4.23
Pea
#A4BF20
ΔE00 4.56
Light Olive
#ACBF69
ΔE00 4.75
Sick Green
#9DB92C
ΔE00 4.96
Gross Green
#A0BF16
ΔE00 5.16
Booger
#9BB53C
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4C652 #6452C6
analogous
#C69E52 #B4C652 #7AC652
triadic
#B4C652 #52B4C6 #C652B4
tetradic
#B4C652 #52C69E #6452C6 #C6527A
square
#B4C652 #52C69E #6452C6 #C6527A
split-complementary
#B4C652 #527AC6 #9E52C6
monochromatic
#6A7727 #93A536 #B4C652 #C8D580 #DCE4AE
Accessibility & contrast
On white
1.89
#B4C652 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.14
#B4C652 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4C652
11.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4C652 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4C652 | 1.00 | 1.89 | 11.14 | 11.14 |
| #FFFFFF | 1.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BC45
Deuteranopia (green-blind)
#D1BD59
Tritanopia (blue-blind)
#BEBCAD
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #b4c652; /* rgb */ color: rgb(180, 198, 82); /* oklch */ color: oklch(79.0% 0.142 117.2);
Tailwind
colors: {
custom: {
50: '#cdd787',
500: '#b4c652',
950: '#000000',
},
}SCSS
$custom: #b4c652; $custom-light: #cdd787; $custom-dark: #000000;
JSON
{
"hex": "#b4c652",
"rgb": {
"r": 180,
"g": 198,
"b": 82
},
"hsl": {
"h": 69.31,
"s": 50.435,
"l": 54.902
},
"oklch": {
"l": 0.78969,
"c": 0.14224,
"h": 117.2
},
"luminance": 0.50701
}Semantic roles & 50–950 ramp
primary
#B4C652
secondary
#473D7F
accent
#4EDA64
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14140C
muted
#83837F