#B9B262#B9B262
#B9B262 is a light, moderate yellow. Relative luminance 0.430; OKLCH L 75.2% C 0.102 H 104.2°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #B9B262 |
|---|---|
| RGB | rgb(185, 178, 98) |
| HSL | hsl(55, 38%, 55%) |
| HSV | hsv(55, 47%, 73%) |
| CMYK | cmyk(0%, 3.8%, 47%, 27.5%) |
| CIE-LAB | lab(71.58, -8.73, 41.54) |
| CIE-LCH | lch(71.58, 42.45, 101.87°) |
| OKLab | oklab(75.2% -0.025 0.0993) |
| OKLCH | oklch(75.2% 0.102 104.2) |
| XYZ | xyz(38.1335, 43.0380, 17.8513) |
| Luminance | 0.4304 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 1.60
Khaki (survey)
#AAA662
ΔE00 4.18
Sand
#C2B280
ΔE00 6.87
Light Olive
#ACBF69
ΔE00 7.21
Desert
#CCAD60
ΔE00 7.43
Tan Green
#A9BE70
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9B262 #6269B9
analogous
#B98662 #B9B262 #95B962
triadic
#B9B262 #62B9B2 #B262B9
tetradic
#B9B262 #62B986 #6269B9 #B96295
square
#B9B262 #62B986 #6269B9 #B96295
split-complementary
#B9B262 #6295B9 #8662B9
monochromatic
#6F6A32 #999344 #B9B262 #CCC78C #DFDCB7
Accessibility & contrast
On white
2.19
#B9B262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.61
#B9B262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9B262
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9B262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9B262 | 1.00 | 2.19 | 9.61 | 9.61 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAD5B
Deuteranopia (green-blind)
#C1B166
Tritanopia (blue-blind)
#C4A99F
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b9b262; /* rgb */ color: rgb(185, 178, 98); /* oklch */ color: oklch(75.2% 0.102 104.2);
Tailwind
colors: {
custom: {
50: '#d0c890',
500: '#b9b262',
950: '#000000',
},
}SCSS
$custom: #b9b262; $custom-light: #d0c890; $custom-dark: #000000;
JSON
{
"hex": "#b9b262",
"rgb": {
"r": 185,
"g": 178,
"b": 98
},
"hsl": {
"h": 55.172,
"s": 38.326,
"l": 55.49
},
"oklch": {
"l": 0.75197,
"c": 0.10246,
"h": 104.2
},
"luminance": 0.43037
}Semantic roles & 50–950 ramp
primary
#B9B262
secondary
#A9ACCE
accent
#63CE5A
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130D
muted
#82827D