#B0AF3A#B0AF3A
#B0AF3A is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.3% C 0.136 H 108.9°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #B0AF3A |
|---|---|
| RGB | rgb(176, 175, 58) |
| HSL | hsl(59, 50%, 46%) |
| HSV | hsv(59, 67%, 69%) |
| CMYK | cmyk(0%, 0.6%, 67%, 31%) |
| CIE-LAB | lab(69.61, -14.07, 57.46) |
| CIE-LCH | lch(69.61, 59.16, 103.76°) |
| OKLab | oklab(73.32% -0.044 0.1289) |
| OKLCH | oklch(73.32% 0.136 108.9) |
| XYZ | xyz(33.9993, 40.1965, 9.9699) |
| Luminance | 0.4020 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.02
Puke
#A5A502
ΔE00 4.17
Mustard Green
#A8B504
ΔE00 4.55
Snot
#ACBB0D
ΔE00 5.38
Puke Green
#9AAE07
ΔE00 5.46
Olive Yellow
#C2B709
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B0AF3A #3A3BB0
analogous
#B0743A #B0AF3A #76B03A
triadic
#B0AF3A #3AB0AF #AF3AB0
tetradic
#B0AF3A #3AB074 #3A3BB0 #B03A76
square
#B0AF3A #3AB074 #3A3BB0 #B03A76
split-complementary
#B0AF3A #3A76B0 #743AB0
monochromatic
#54531C #82812B #B0AF3A #CAC95D #D9D88B
Accessibility & contrast
On white
2.32
#B0AF3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.04
#B0AF3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B0AF3A
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B0AF3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B0AF3A | 1.00 | 2.32 | 9.04 | 9.04 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA829
Deuteranopia (green-blind)
#BFAC42
Tritanopia (blue-blind)
#BCA497
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b0af3a; /* rgb */ color: rgb(176, 175, 58); /* oklch */ color: oklch(73.3% 0.136 108.9);
Tailwind
colors: {
custom: {
50: '#cbc677',
500: '#b0af3a',
950: '#000000',
},
}SCSS
$custom: #b0af3a; $custom-light: #cbc677; $custom-dark: #000000;
JSON
{
"hex": "#b0af3a",
"rgb": {
"r": 176,
"g": 175,
"b": 58
},
"hsl": {
"h": 59.492,
"s": 50.427,
"l": 45.882
},
"oklch": {
"l": 0.73317,
"c": 0.13625,
"h": 108.9
},
"luminance": 0.40196
}Semantic roles & 50–950 ramp
primary
#B0AF3A
secondary
#8283C3
accent
#4FDA4E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B