#B1A83E#B1A83E
#B1A83E is a light, vivid yellow. Relative luminance 0.377; OKLCH L 71.9% C 0.126 H 104.5°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #B1A83E |
|---|---|
| RGB | rgb(177, 168, 62) |
| HSL | hsl(55, 48%, 47%) |
| HSV | hsv(55, 65%, 69%) |
| CMYK | cmyk(0%, 5.1%, 65%, 30.6%) |
| CIE-LAB | lab(67.80, -9.77, 53.96) |
| CIE-LCH | lch(67.80, 54.84, 100.26°) |
| OKLab | oklab(71.91% -0.0315 0.1222) |
| OKLCH | oklch(71.91% 0.126 104.5) |
| XYZ | xyz(33.0048, 37.7014, 10.0950) |
| Luminance | 0.3770 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.43
Puke
#A5A502
ΔE00 4.58
Muddy Yellow
#BFAC05
ΔE00 5.53
Khaki (survey)
#AAA662
ΔE00 6.21
Darkkhaki
#BDB76B
ΔE00 6.44
Olive Yellow
#C2B709
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1A83E #3E47B1
analogous
#B16E3E #B1A83E #81B13E
triadic
#B1A83E #3EB1A8 #A83EB1
tetradic
#B1A83E #3EB16E #3E47B1 #B13E81
square
#B1A83E #3EB16E #3E47B1 #B13E81
split-complementary
#B1A83E #3E81B1 #6E3EB1
monochromatic
#56521E #847D2E #B1A83E #C9C164 #D8D391
Accessibility & contrast
On white
2.46
#B1A83E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.54
#B1A83E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1A83E
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1A83E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1A83E | 1.00 | 2.46 | 8.54 | 8.54 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A230
Deuteranopia (green-blind)
#B9A744
Tritanopia (blue-blind)
#BE9D92
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b1a83e; /* rgb */ color: rgb(177, 168, 62); /* oklch */ color: oklch(71.9% 0.126 104.5);
Tailwind
colors: {
custom: {
50: '#cbc179',
500: '#b1a83e',
950: '#000000',
},
}SCSS
$custom: #b1a83e; $custom-light: #cbc179; $custom-dark: #000000;
JSON
{
"hex": "#b1a83e",
"rgb": {
"r": 177,
"g": 168,
"b": 62
},
"hsl": {
"h": 55.304,
"s": 48.117,
"l": 46.863
},
"oklch": {
"l": 0.71906,
"c": 0.12618,
"h": 104.5
},
"luminance": 0.377
}Semantic roles & 50–950 ramp
primary
#B1A83E
secondary
#878CC4
accent
#5BD850
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B