#B2B862#B2B862
#B2B862 is a light, moderate yellow. Relative luminance 0.446; OKLCH L 75.9% C 0.110 H 112.3°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B862 |
|---|---|
| RGB | rgb(178, 184, 98) |
| HSL | hsl(64, 38%, 55%) |
| HSV | hsv(64, 47%, 72%) |
| CMYK | cmyk(3.3%, 0%, 46.7%, 27.8%) |
| CIE-LAB | lab(72.65, -14.71, 42.71) |
| CIE-LCH | lch(72.65, 45.17, 109.00°) |
| OKLab | oklab(75.91% -0.0418 0.102) |
| OKLCH | oklch(75.91% 0.11 112.3) |
| XYZ | xyz(37.7058, 44.6284, 18.1808) |
| Luminance | 0.4463 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Olive
#ACBF69
ΔE00 3.54
Darkkhaki
#BDB76B
ΔE00 3.61
Tan Green
#A9BE70
ΔE00 4.51
Light Olive Green
#A4BE5C
ΔE00 4.75
Greenish Tan
#BCCB7A
ΔE00 5.36
Khaki (survey)
#AAA662
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B862 #6862B8
analogous
#B89362 #B2B862 #87B862
triadic
#B2B862 #62B2B8 #B862B2
tetradic
#B2B862 #62B893 #6862B8 #B86287
square
#B2B862 #62B893 #6862B8 #B86287
split-complementary
#B2B862 #6287B8 #9362B8
monochromatic
#6A6E32 #929845 #B2B862 #C7CB8C #DBDEB6
Accessibility & contrast
On white
2.12
#B2B862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.93
#B2B862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B862
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B862 | 1.00 | 2.12 | 9.93 | 9.93 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3B15B
Deuteranopia (green-blind)
#C3B366
Tritanopia (blue-blind)
#BCAFA4
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b2b862; /* rgb */ color: rgb(178, 184, 98); /* oklch */ color: oklch(75.9% 0.110 112.3);
Tailwind
colors: {
custom: {
50: '#cacd90',
500: '#b2b862',
950: '#000000',
},
}SCSS
$custom: #b2b862; $custom-light: #cacd90; $custom-dark: #000000;
JSON
{
"hex": "#b2b862",
"rgb": {
"r": 178,
"g": 184,
"b": 98
},
"hsl": {
"h": 64.186,
"s": 37.719,
"l": 55.294
},
"oklch": {
"l": 0.75907,
"c": 0.11024,
"h": 112.3
},
"luminance": 0.44628
}Semantic roles & 50–950 ramp
primary
#B2B862
secondary
#ABA9CD
accent
#5ACE62
background
#FCFCF9
surface
#F9F8F1
border
#D2D1CB
text
#13130D
muted
#82827E