#B5A62E#B5A62E
#B5A62E is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.7% C 0.135 H 101.9°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #B5A62E |
|---|---|
| RGB | rgb(181, 166, 46) |
| HSL | hsl(53, 59%, 45%) |
| HSV | hsv(53, 75%, 71%) |
| CMYK | cmyk(0%, 8.3%, 74.6%, 29%) |
| CIE-LAB | lab(67.50, -7.82, 60.07) |
| CIE-LCH | lch(67.50, 60.58, 97.42°) |
| OKLab | oklab(71.71% -0.0279 0.1322) |
| OKLCH | oklch(71.71% 0.135 101.9) |
| XYZ | xyz(33.1869, 37.2949, 8.0348) |
| Luminance | 0.3729 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.58
Puke
#A5A502
ΔE00 4.55
Vomit
#A2A415
ΔE00 4.90
Brownish Yellow
#C9B003
ΔE00 5.30
Brown Yellow
#B29705
ΔE00 5.43
Olive Yellow
#C2B709
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5A62E #2E3DB5
analogous
#B5622E #B5A62E #81B52E
triadic
#B5A62E #2EB5A6 #A62EB5
tetradic
#B5A62E #2EB562 #2E3DB5 #B52E81
square
#B5A62E #2EB562 #2E3DB5 #B52E81
split-complementary
#B5A62E #2E81B5 #622EB5
monochromatic
#534C15 #847922 #B5A62E #D2C34E #DED47F
Accessibility & contrast
On white
2.48
#B5A62E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.46
#B5A62E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5A62E
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5A62E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5A62E | 1.00 | 2.48 | 8.46 | 8.46 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A117
Deuteranopia (green-blind)
#BAA736
Tritanopia (blue-blind)
#C39A8F
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b5a62e; /* rgb */ color: rgb(181, 166, 46); /* oklch */ color: oklch(71.7% 0.135 101.9);
Tailwind
colors: {
custom: {
50: '#cfc070',
500: '#b5a62e',
950: '#000000',
},
}SCSS
$custom: #b5a62e; $custom-light: #cfc070; $custom-dark: #000000;
JSON
{
"hex": "#b5a62e",
"rgb": {
"r": 181,
"g": 166,
"b": 46
},
"hsl": {
"h": 53.333,
"s": 59.471,
"l": 44.51
},
"oklch": {
"l": 0.71714,
"c": 0.13507,
"h": 101.9
},
"luminance": 0.37293
}Semantic roles & 50–950 ramp
primary
#B5A62E
secondary
#7880C7
accent
#57E345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B