#B1A02E#B1A02E
#B1A02E is a light, vivid yellow. Relative luminance 0.347; OKLCH L 70.0% C 0.130 H 100.5°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #B1A02E |
|---|---|
| RGB | rgb(177, 160, 46) |
| HSL | hsl(52, 59%, 44%) |
| HSV | hsv(52, 74%, 69%) |
| CMYK | cmyk(0%, 9.6%, 74%, 30.6%) |
| CIE-LAB | lab(65.50, -6.41, 58.05) |
| CIE-LCH | lch(65.50, 58.40, 96.30°) |
| OKLab | oklab(70.05% -0.0237 0.128) |
| OKLCH | oklch(70.05% 0.13 100.5) |
| XYZ | xyz(31.1969, 34.6874, 7.6363) |
| Luminance | 0.3469 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.13
Muddy Yellow
#BFAC05
ΔE00 4.93
Puke
#A5A502
ΔE00 5.23
Vomit
#A2A415
ΔE00 5.40
Baby Poo
#AB9004
ΔE00 5.57
Dark Gold
#B59410
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1A02E #2E3FB1
analogous
#B15E2E #B1A02E #80B12E
triadic
#B1A02E #2EB1A0 #A02EB1
tetradic
#B1A02E #2EB15E #2E3FB1 #B12E80
square
#B1A02E #2EB15E #2E3FB1 #B12E80
split-complementary
#B1A02E #2E80B1 #5E2EB1
monochromatic
#504815 #807421 #B1A02E #D0BF4C #DDD07C
Accessibility & contrast
On white
2.65
#B1A02E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.94
#B1A02E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1A02E
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1A02E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1A02E | 1.00 | 2.65 | 7.94 | 7.94 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B1A
Deuteranopia (green-blind)
#B4A236
Tritanopia (blue-blind)
#BF948A
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #b1a02e; /* rgb */ color: rgb(177, 160, 46); /* oklch */ color: oklch(70.0% 0.130 100.5);
Tailwind
colors: {
custom: {
50: '#ccbb6f',
500: '#b1a02e',
950: '#000000',
},
}SCSS
$custom: #b1a02e; $custom-light: #ccbb6f; $custom-dark: #000000;
JSON
{
"hex": "#b1a02e",
"rgb": {
"r": 177,
"g": 160,
"b": 46
},
"hsl": {
"h": 52.214,
"s": 58.744,
"l": 43.725
},
"oklch": {
"l": 0.70045,
"c": 0.13019,
"h": 100.5
},
"luminance": 0.34686
}Semantic roles & 50–950 ramp
primary
#B1A02E
secondary
#7580C6
accent
#5AE246
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B