#B5A92A#B5A92A
#B5A92A is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.3% C 0.140 H 103.7°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #B5A92A |
|---|---|
| RGB | rgb(181, 169, 42) |
| HSL | hsl(55, 62%, 44%) |
| HSV | hsv(55, 77%, 71%) |
| CMYK | cmyk(0%, 6.6%, 76.8%, 29%) |
| CIE-LAB | lab(68.29, -9.56, 62.19) |
| CIE-LCH | lch(68.29, 62.92, 98.74°) |
| OKLab | oklab(72.34% -0.0332 0.1359) |
| OKLCH | oklch(72.34% 0.14 103.7) |
| XYZ | xyz(33.6635, 38.3683, 7.8227) |
| Luminance | 0.3837 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.21
Puke
#A5A502
ΔE00 3.86
Vomit
#A2A415
ΔE00 4.33
Olive Yellow
#C2B709
ΔE00 4.70
Brownish Yellow
#C9B003
ΔE00 5.08
Mustard (survey)
#CEB301
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5A92A #2A36B5
analogous
#B5632A #B5A92A #7BB52A
triadic
#B5A92A #2AB5A9 #A92AB5
tetradic
#B5A92A #2AB563 #2A36B5 #B52A7B
square
#B5A92A #2AB563 #2A36B5 #B52A7B
split-complementary
#B5A92A #2A7BB5 #632AB5
monochromatic
#524C13 #837B1E #B5A92A #D4C848 #E0D779
Accessibility & contrast
On white
2.42
#B5A92A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.67
#B5A92A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5A92A
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5A92A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5A92A | 1.00 | 2.42 | 8.67 | 8.67 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A30B
Deuteranopia (green-blind)
#BDA934
Tritanopia (blue-blind)
#C39D91
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #b5a92a; /* rgb */ color: rgb(181, 169, 42); /* oklch */ color: oklch(72.3% 0.140 103.7);
Tailwind
colors: {
custom: {
50: '#cfc26e',
500: '#b5a92a',
950: '#000000',
},
}SCSS
$custom: #b5a92a; $custom-light: #cfc26e; $custom-dark: #000000;
JSON
{
"hex": "#b5a92a",
"rgb": {
"r": 181,
"g": 169,
"b": 42
},
"hsl": {
"h": 54.82,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.72338,
"c": 0.13988,
"h": 103.7
},
"luminance": 0.38367
}Semantic roles & 50–950 ramp
primary
#B5A92A
secondary
#737AC8
accent
#50E542
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B