#B8B262#B8B262
#B8B262 is a light, moderate yellow. Relative luminance 0.429; OKLCH L 75.1% C 0.102 H 104.8°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #B8B262 |
|---|---|
| RGB | rgb(184, 178, 98) |
| HSL | hsl(56, 38%, 55%) |
| HSV | hsv(56, 47%, 72%) |
| CMYK | cmyk(0%, 3.3%, 46.7%, 27.8%) |
| CIE-LAB | lab(71.50, -9.14, 41.42) |
| CIE-LCH | lch(71.50, 42.41, 102.45°) |
| OKLab | oklab(75.11% -0.0262 0.0991) |
| OKLCH | oklch(75.11% 0.102 104.8) |
| XYZ | xyz(37.8930, 42.9140, 17.8401) |
| Luminance | 0.4291 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 1.61
Khaki (survey)
#AAA662
ΔE00 4.07
Light Olive
#ACBF69
ΔE00 6.95
Sand
#C2B280
ΔE00 7.01
Tan Green
#A9BE70
ΔE00 7.61
Desert
#CCAD60
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8B262 #6268B8
analogous
#B88762 #B8B262 #93B862
triadic
#B8B262 #62B8B2 #B262B8
tetradic
#B8B262 #62B887 #6268B8 #B86293
square
#B8B262 #62B887 #6268B8 #B86293
split-complementary
#B8B262 #6293B8 #8762B8
monochromatic
#6E6A32 #989245 #B8B262 #CBC78C #DEDBB6
Accessibility & contrast
On white
2.19
#B8B262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.58
#B8B262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8B262
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8B262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8B262 | 1.00 | 2.19 | 9.58 | 9.58 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAD5B
Deuteranopia (green-blind)
#C1B166
Tritanopia (blue-blind)
#C3A99F
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b8b262; /* rgb */ color: rgb(184, 178, 98); /* oklch */ color: oklch(75.1% 0.102 104.8);
Tailwind
colors: {
custom: {
50: '#cfc890',
500: '#b8b262',
950: '#000000',
},
}SCSS
$custom: #b8b262; $custom-light: #cfc890; $custom-dark: #000000;
JSON
{
"hex": "#b8b262",
"rgb": {
"r": 184,
"g": 178,
"b": 98
},
"hsl": {
"h": 55.814,
"s": 37.719,
"l": 55.294
},
"oklch": {
"l": 0.7511,
"c": 0.10249,
"h": 104.8
},
"luminance": 0.42913
}Semantic roles & 50–950 ramp
primary
#B8B262
secondary
#A9ABCD
accent
#62CE5A
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130D
muted
#82827D