#B0A42A#B0A42A
#B0A42A is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.8% C 0.136 H 103.5°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #B0A42A |
|---|---|
| RGB | rgb(176, 164, 42) |
| HSL | hsl(55, 61%, 43%) |
| HSV | hsv(55, 76%, 69%) |
| CMYK | cmyk(0%, 6.8%, 76.1%, 31%) |
| CIE-LAB | lab(66.48, -9.15, 60.35) |
| CIE-LCH | lch(66.48, 61.04, 98.62°) |
| OKLab | oklab(70.79% -0.0318 0.1322) |
| OKLCH | oklch(70.79% 0.136 103.5) |
| XYZ | xyz(31.5993, 35.9495, 7.4645) |
| Luminance | 0.3595 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.64
Vomit
#A2A415
ΔE00 3.89
Muddy Yellow
#BFAC05
ΔE00 4.25
Brown Yellow
#B29705
ΔE00 5.52
Olive Yellow
#C2B709
ΔE00 6.17
Brownish Yellow
#C9B003
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B0A42A #2A36B0
analogous
#B0612A #B0A42A #79B02A
triadic
#B0A42A #2AB0A4 #A42AB0
tetradic
#B0A42A #2AB061 #2A36B0 #B02A79
square
#B0A42A #2AB061 #2A36B0 #B02A79
split-complementary
#B0A42A #2A79B0 #612AB0
monochromatic
#4D4812 #7F761E #B0A42A #D3C645 #DED576
Accessibility & contrast
On white
2.56
#B0A42A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.19
#B0A42A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B0A42A
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B0A42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B0A42A | 1.00 | 2.56 | 8.19 | 8.19 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E0F
Deuteranopia (green-blind)
#B7A433
Tritanopia (blue-blind)
#BE988D
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b0a42a; /* rgb */ color: rgb(176, 164, 42); /* oklch */ color: oklch(70.8% 0.136 103.5);
Tailwind
colors: {
custom: {
50: '#cbbe6d',
500: '#b0a42a',
950: '#000000',
},
}SCSS
$custom: #b0a42a; $custom-light: #cbbe6d; $custom-dark: #000000;
JSON
{
"hex": "#b0a42a",
"rgb": {
"r": 176,
"g": 164,
"b": 42
},
"hsl": {
"h": 54.627,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.70792,
"c": 0.13596,
"h": 103.5
},
"luminance": 0.35948
}Semantic roles & 50–950 ramp
primary
#B0A42A
secondary
#7078C6
accent
#52E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B