#B2A03E#B2A03E
#B2A03E is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.3% C 0.119 H 98.8°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A03E |
|---|---|
| RGB | rgb(178, 160, 62) |
| HSL | hsl(51, 48%, 47%) |
| HSV | hsv(51, 65%, 70%) |
| CMYK | cmyk(0%, 10.1%, 65.2%, 30.2%) |
| CIE-LAB | lab(65.71, -5.10, 51.78) |
| CIE-LCH | lch(65.71, 52.03, 95.63°) |
| OKLab | oklab(70.27% -0.0183 0.1175) |
| OKLCH | oklch(70.27% 0.119 98.8) |
| XYZ | xyz(31.8018, 34.9558, 9.6285) |
| Luminance | 0.3495 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 5.06
Dark Gold
#B59410
ΔE00 5.98
Baby Shit Brown
#AD900D
ΔE00 6.17
Baby Poo
#AB9004
ΔE00 6.17
Ocher
#BF9B0C
ΔE00 6.22
Muddy Yellow
#BFAC05
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A03E #3E50B2
analogous
#B2663E #B2A03E #8AB23E
triadic
#B2A03E #3EB2A0 #A03EB2
tetradic
#B2A03E #3EB266 #3E50B2 #B23E8A
square
#B2A03E #3EB266 #3E50B2 #B23E8A
split-complementary
#B2A03E #3E8AB2 #663EB2
monochromatic
#574E1E #85772E #B2A03E #C9B964 #D9CE92
Accessibility & contrast
On white
2.63
#B2A03E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.99
#B2A03E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A03E
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A03E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A03E | 1.00 | 2.63 | 7.99 | 7.99 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9C32
Deuteranopia (green-blind)
#B4A243
Tritanopia (blue-blind)
#BF958B
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #b2a03e; /* rgb */ color: rgb(178, 160, 62); /* oklch */ color: oklch(70.3% 0.119 98.8);
Tailwind
colors: {
custom: {
50: '#ccbb78',
500: '#b2a03e',
950: '#000000',
},
}SCSS
$custom: #b2a03e; $custom-light: #ccbb78; $custom-dark: #000000;
JSON
{
"hex": "#b2a03e",
"rgb": {
"r": 178,
"g": 160,
"b": 62
},
"hsl": {
"h": 50.69,
"s": 48.333,
"l": 47.059
},
"oklch": {
"l": 0.70271,
"c": 0.11895,
"h": 98.8
},
"luminance": 0.34954
}Semantic roles & 50–950 ramp
primary
#B2A03E
secondary
#8891C4
accent
#65D850
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B