#B1A231#B1A231
#B1A231 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.5% C 0.130 H 101.6°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #B1A231 |
|---|---|
| RGB | rgb(177, 162, 49) |
| HSL | hsl(53, 57%, 44%) |
| HSV | hsv(53, 72%, 69%) |
| CMYK | cmyk(0%, 8.5%, 72.3%, 30.6%) |
| CIE-LAB | lab(66.07, -7.33, 57.47) |
| CIE-LCH | lch(66.07, 57.93, 97.27°) |
| OKLab | oklab(70.5% -0.026 0.1274) |
| OKLCH | oklch(70.5% 0.13 101.6) |
| XYZ | xyz(31.6076, 35.4109, 8.0752) |
| Luminance | 0.3541 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 4.78
Muddy Yellow
#BFAC05
ΔE00 4.79
Brown Yellow
#B29705
ΔE00 4.88
Vomit
#A2A415
ΔE00 4.91
Baby Poo
#AB9004
ΔE00 6.32
Dark Gold
#B59410
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1A231 #3140B1
analogous
#B16231 #B1A231 #80B131
triadic
#B1A231 #31B1A2 #A231B1
tetradic
#B1A231 #31B162 #3140B1 #B13180
square
#B1A231 #31B162 #3140B1 #B13180
split-complementary
#B1A231 #3180B1 #6231B1
monochromatic
#514A16 #817624 #B1A231 #CFC051 #DCD180
Accessibility & contrast
On white
2.60
#B1A231 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#B1A231 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1A231
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1A231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1A231 | 1.00 | 2.60 | 8.08 | 8.08 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19D1E
Deuteranopia (green-blind)
#B6A338
Tritanopia (blue-blind)
#BF968C
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b1a231; /* rgb */ color: rgb(177, 162, 49); /* oklch */ color: oklch(70.5% 0.130 101.6);
Tailwind
colors: {
custom: {
50: '#ccbd71',
500: '#b1a231',
950: '#000000',
},
}SCSS
$custom: #b1a231; $custom-light: #ccbd71; $custom-dark: #000000;
JSON
{
"hex": "#b1a231",
"rgb": {
"r": 177,
"g": 162,
"b": 49
},
"hsl": {
"h": 52.969,
"s": 56.637,
"l": 44.314
},
"oklch": {
"l": 0.70498,
"c": 0.12998,
"h": 101.6
},
"luminance": 0.3541
}Semantic roles & 50–950 ramp
primary
#B1A231
secondary
#7982C5
accent
#5AE048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B