#B0AF2E#B0AF2E
#B0AF2E is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.2% C 0.144 H 109.0°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #B0AF2E |
|---|---|
| RGB | rgb(176, 175, 46) |
| HSL | hsl(60, 59%, 44%) |
| HSV | hsv(60, 74%, 69%) |
| CMYK | cmyk(0%, 0.6%, 73.9%, 31%) |
| CIE-LAB | lab(69.53, -14.68, 61.84) |
| CIE-LCH | lch(69.53, 63.56, 103.36°) |
| OKLab | oklab(73.23% -0.0469 0.1361) |
| OKLCH | oklch(73.23% 0.144 109) |
| XYZ | xyz(33.7289, 40.0884, 8.5454) |
| Luminance | 0.4009 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.44
Vomit
#A2A415
ΔE00 3.57
Mustard Green
#A8B504
ΔE00 3.83
Snot
#ACBB0D
ΔE00 4.78
Olive Yellow
#C2B709
ΔE00 4.80
Puke Green
#9AAE07
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B0AF2E #2E2FB0
analogous
#B06E2E #B0AF2E #70B02E
triadic
#B0AF2E #2EB0AF #AF2EB0
tetradic
#B0AF2E #2EB06E #2E2FB0 #B02E70
square
#B0AF2E #2EB06E #2E2FB0 #B02E70
split-complementary
#B0AF2E #2E70B0 #6E2EB0
monochromatic
#4F4F15 #7F7F21 #B0AF2E #D0CF4B #DDDC7C
Accessibility & contrast
On white
2.33
#B0AF2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.02
#B0AF2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B0AF2E
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B0AF2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B0AF2E | 1.00 | 2.33 | 9.02 | 9.02 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA813
Deuteranopia (green-blind)
#BFAC38
Tritanopia (blue-blind)
#BDA496
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b0af2e; /* rgb */ color: rgb(176, 175, 46); /* oklch */ color: oklch(73.2% 0.144 109.0);
Tailwind
colors: {
custom: {
50: '#cbc671',
500: '#b0af2e',
950: '#000000',
},
}SCSS
$custom: #b0af2e; $custom-light: #cbc671; $custom-dark: #000000;
JSON
{
"hex": "#b0af2e",
"rgb": {
"r": 176,
"g": 175,
"b": 46
},
"hsl": {
"h": 59.538,
"s": 58.559,
"l": 43.529
},
"oklch": {
"l": 0.73231,
"c": 0.14396,
"h": 109
},
"luminance": 0.40087
}Semantic roles & 50–950 ramp
primary
#B0AF2E
secondary
#7575C5
accent
#47E246
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B