#B8AF3E#B8AF3E
#B8AF3E is a light, vivid yellow. Relative luminance 0.412; OKLCH L 74.1% C 0.132 H 104.8°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #B8AF3E |
|---|---|
| RGB | rgb(184, 175, 62) |
| HSL | hsl(56, 50%, 48%) |
| HSV | hsv(56, 66%, 72%) |
| CMYK | cmyk(0%, 4.9%, 66.3%, 27.8%) |
| CIE-LAB | lab(70.32, -10.39, 56.77) |
| CIE-LCH | lch(70.32, 57.72, 100.37°) |
| OKLab | oklab(74.05% -0.0337 0.1279) |
| OKLCH | oklch(74.05% 0.132 104.8) |
| XYZ | xyz(35.9680, 41.1994, 10.6141) |
| Luminance | 0.4120 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.70
Olive Yellow
#C2B709
ΔE00 4.84
Puke
#A5A502
ΔE00 5.07
Vomit
#A2A415
ΔE00 5.21
Puke Yellow
#C2BE0E
ΔE00 5.87
Darkkhaki
#BDB76B
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8AF3E #3E47B8
analogous
#B8723E #B8AF3E #84B83E
triadic
#B8AF3E #3EB8AF #AF3EB8
tetradic
#B8AF3E #3EB872 #3E47B8 #B83E84
square
#B8AF3E #3EB872 #3E47B8 #B83E84
split-complementary
#B8AF3E #3E84B8 #723EB8
monochromatic
#5C581F #8A832F #B8AF3E #CCC467 #DBD695
Accessibility & contrast
On white
2.27
#B8AF3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.24
#B8AF3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8AF3E
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8AF3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8AF3E | 1.00 | 2.27 | 9.24 | 9.24 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA92F
Deuteranopia (green-blind)
#C1AE45
Tritanopia (blue-blind)
#C5A398
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #b8af3e; /* rgb */ color: rgb(184, 175, 62); /* oklch */ color: oklch(74.1% 0.132 104.8);
Tailwind
colors: {
custom: {
50: '#d0c679',
500: '#b8af3e',
950: '#000000',
},
}SCSS
$custom: #b8af3e; $custom-light: #d0c679; $custom-dark: #000000;
JSON
{
"hex": "#b8af3e",
"rgb": {
"r": 184,
"g": 175,
"b": 62
},
"hsl": {
"h": 55.574,
"s": 49.593,
"l": 48.235
},
"oklch": {
"l": 0.74053,
"c": 0.13228,
"h": 104.8
},
"luminance": 0.41198
}Semantic roles & 50–950 ramp
primary
#B8AF3E
secondary
#8B8FC7
accent
#59D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B