#B2B552#B2B552
#B2B552 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.0% C 0.123 H 110.6°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B552 |
|---|---|
| RGB | rgb(178, 181, 82) |
| HSL | hsl(62, 40%, 52%) |
| HSV | hsv(62, 55%, 71%) |
| CMYK | cmyk(1.7%, 0%, 54.7%, 29%) |
| CIE-LAB | lab(71.64, -14.63, 49.23) |
| CIE-LCH | lch(71.64, 51.36, 106.55°) |
| OKLab | oklab(75.04% -0.0431 0.1148) |
| OKLCH | oklch(75.04% 0.123 110.6) |
| XYZ | xyz(36.4078, 43.1227, 14.3866) |
| Luminance | 0.4312 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.36
Light Olive
#ACBF69
ΔE00 5.43
Booger
#9BB53C
ΔE00 5.60
Light Olive Green
#A4BE5C
ΔE00 5.85
Mustard Green
#A8B504
ΔE00 6.18
Khaki (survey)
#AAA662
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B552 #5552B5
analogous
#B58752 #B2B552 #81B552
triadic
#B2B552 #52B2B5 #B552B2
tetradic
#B2B552 #52B587 #5552B5 #B55281
square
#B2B552 #52B587 #5552B5 #B55281
split-complementary
#B2B552 #5281B5 #8752B5
monochromatic
#61622A #8B8D3C #B2B552 #C5C77D #D8DAA8
Accessibility & contrast
On white
2.18
#B2B552 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.62
#B2B552 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B552
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B552 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B552 | 1.00 | 2.18 | 9.62 | 9.62 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AE48
Deuteranopia (green-blind)
#C2B157
Tritanopia (blue-blind)
#BDAB9F
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b2b552; /* rgb */ color: rgb(178, 181, 82); /* oklch */ color: oklch(75.0% 0.123 110.6);
Tailwind
colors: {
custom: {
50: '#cbcb86',
500: '#b2b552',
950: '#000000',
},
}SCSS
$custom: #b2b552; $custom-light: #cbcb86; $custom-dark: #000000;
JSON
{
"hex": "#b2b552",
"rgb": {
"r": 178,
"g": 181,
"b": 82
},
"hsl": {
"h": 61.818,
"s": 40.081,
"l": 51.569
},
"oklch": {
"l": 0.75043,
"c": 0.12259,
"h": 110.6
},
"luminance": 0.43122
}Semantic roles & 50–950 ramp
primary
#B2B552
secondary
#9D9CC7
accent
#58D05B
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C