#B5A92E#B5A92E
#B5A92E is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.4% C 0.138 H 103.6°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #B5A92E |
|---|---|
| RGB | rgb(181, 169, 46) |
| HSL | hsl(55, 59%, 45%) |
| HSV | hsv(55, 75%, 71%) |
| CMYK | cmyk(0%, 6.6%, 74.6%, 29%) |
| CIE-LAB | lab(68.31, -9.39, 60.84) |
| CIE-LCH | lch(68.31, 61.57, 98.78°) |
| OKLab | oklab(72.36% -0.0324 0.1338) |
| OKLCH | oklch(72.36% 0.138 103.6) |
| XYZ | xyz(33.7387, 38.3984, 8.2187) |
| Luminance | 0.3840 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.47
Puke
#A5A502
ΔE00 4.01
Vomit
#A2A415
ΔE00 4.40
Olive Yellow
#C2B709
ΔE00 4.91
Brownish Yellow
#C9B003
ΔE00 5.27
Mustard (survey)
#CEB301
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5A92E #2E3AB5
analogous
#B5662E #B5A92E #7DB52E
triadic
#B5A92E #2EB5A9 #A92EB5
tetradic
#B5A92E #2EB566 #2E3AB5 #B52E7D
square
#B5A92E #2EB566 #2E3AB5 #B52E7D
split-complementary
#B5A92E #2E7DB5 #662EB5
monochromatic
#534E15 #847B22 #B5A92E #D2C64E #DED67F
Accessibility & contrast
On white
2.42
#B5A92E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.68
#B5A92E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5A92E
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5A92E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5A92E | 1.00 | 2.42 | 8.68 | 8.68 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A316
Deuteranopia (green-blind)
#BCA937
Tritanopia (blue-blind)
#C39D91
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b5a92e; /* rgb */ color: rgb(181, 169, 46); /* oklch */ color: oklch(72.4% 0.138 103.6);
Tailwind
colors: {
custom: {
50: '#cfc270',
500: '#b5a92e',
950: '#000000',
},
}SCSS
$custom: #b5a92e; $custom-light: #cfc270; $custom-dark: #000000;
JSON
{
"hex": "#b5a92e",
"rgb": {
"r": 181,
"g": 169,
"b": 46
},
"hsl": {
"h": 54.667,
"s": 59.471,
"l": 44.51
},
"oklch": {
"l": 0.72363,
"c": 0.13765,
"h": 103.6
},
"luminance": 0.38397
}Semantic roles & 50–950 ramp
primary
#B5A92E
secondary
#787FC7
accent
#53E345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B