#B2C052#B2C052
#B2C052 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.5% C 0.136 H 115.7°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #B2C052 |
|---|---|
| RGB | rgb(178, 192, 82) |
| HSL | hsl(68, 47%, 54%) |
| HSV | hsv(68, 57%, 75%) |
| CMYK | cmyk(7.3%, 0%, 57.3%, 24.7%) |
| CIE-LAB | lab(74.68, -20.17, 52.68) |
| CIE-LCH | lch(74.68, 56.42, 110.95°) |
| OKLab | oklab(77.48% -0.0588 0.1222) |
| OKLCH | oklch(77.48% 0.136 115.7) |
| XYZ | xyz(38.7334, 47.7740, 15.1618) |
| Luminance | 0.4777 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Olive Green
#A4BE5C
ΔE00 3.83
Light Olive
#ACBF69
ΔE00 4.15
Booger
#9BB53C
ΔE00 4.54
Sick Green
#9DB92C
ΔE00 4.65
Pea
#A4BF20
ΔE00 4.77
Gross Green
#A0BF16
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2C052 #6052C0
analogous
#C09752 #B2C052 #7BC052
triadic
#B2C052 #52B2C0 #C052B2
tetradic
#B2C052 #52C097 #6052C0 #C0527B
square
#B2C052 #52C097 #6052C0 #C0527B
split-complementary
#B2C052 #527BC0 #9752C0
monochromatic
#666F28 #8F9C39 #B2C052 #C6D07F #DAE1AC
Accessibility & contrast
On white
1.99
#B2C052 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.55
#B2C052 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2C052
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2C052 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2C052 | 1.00 | 1.99 | 10.55 | 10.55 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB746
Deuteranopia (green-blind)
#CBB959
Tritanopia (blue-blind)
#BCB6A8
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b2c052; /* rgb */ color: rgb(178, 192, 82); /* oklch */ color: oklch(77.5% 0.136 115.7);
Tailwind
colors: {
custom: {
50: '#cbd386',
500: '#b2c052',
950: '#000000',
},
}SCSS
$custom: #b2c052; $custom-light: #cbd386; $custom-dark: #000000;
JSON
{
"hex": "#b2c052",
"rgb": {
"r": 178,
"g": 192,
"b": 82
},
"hsl": {
"h": 67.636,
"s": 46.61,
"l": 53.725
},
"oklch": {
"l": 0.77477,
"c": 0.13558,
"h": 115.7
},
"luminance": 0.47773
}Semantic roles & 50–950 ramp
primary
#B2C052
secondary
#A59FCE
accent
#52D662
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140B
muted
#82827C