#B2B562#B2B562
#B2B562 is a light, moderate yellow. Relative luminance 0.434; OKLCH L 75.3% C 0.107 H 110.5°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B562 |
|---|---|
| RGB | rgb(178, 181, 98) |
| HSL | hsl(62, 36%, 55%) |
| HSV | hsv(62, 46%, 71%) |
| CMYK | cmyk(1.7%, 0%, 45.9%, 29%) |
| CIE-LAB | lab(71.82, -13.17, 41.70) |
| CIE-LCH | lch(71.82, 43.73, 107.53°) |
| OKLab | oklab(75.25% -0.0374 0.0998) |
| OKLCH | oklch(75.25% 0.107 110.5) |
| XYZ | xyz(37.0892, 43.3953, 17.9752) |
| Luminance | 0.4340 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 2.94
Light Olive
#ACBF69
ΔE00 4.46
Khaki (survey)
#AAA662
ΔE00 4.85
Tan Green
#A9BE70
ΔE00 5.22
Light Olive Green
#A4BE5C
ΔE00 5.68
Greenish Tan
#BCCB7A
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B562 #6562B5
analogous
#B58F62 #B2B562 #88B562
triadic
#B2B562 #62B2B5 #B562B2
tetradic
#B2B562 #62B58F #6562B5 #B56288
square
#B2B562 #62B58F #6562B5 #B56288
split-complementary
#B2B562 #6288B5 #8F62B5
monochromatic
#686A32 #919446 #B2B562 #C6C98C #DBDCB5
Accessibility & contrast
On white
2.17
#B2B562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.68
#B2B562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B562
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B562 | 1.00 | 2.17 | 9.68 | 9.68 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AF5B
Deuteranopia (green-blind)
#C1B166
Tritanopia (blue-blind)
#BCACA1
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b2b562; /* rgb */ color: rgb(178, 181, 98); /* oklch */ color: oklch(75.3% 0.107 110.5);
Tailwind
colors: {
custom: {
50: '#cacb90',
500: '#b2b562',
950: '#000000',
},
}SCSS
$custom: #b2b562; $custom-light: #cacb90; $custom-dark: #000000;
JSON
{
"hex": "#b2b562",
"rgb": {
"r": 178,
"g": 181,
"b": 98
},
"hsl": {
"h": 62.169,
"s": 35.931,
"l": 54.706
},
"oklch": {
"l": 0.7525,
"c": 0.10657,
"h": 110.5
},
"luminance": 0.43395
}Semantic roles & 50–950 ramp
primary
#B2B562
secondary
#A9A8CB
accent
#5CCC60
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130D
muted
#82827D