#B9AD2C#B9AD2C
#B9AD2C is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.6% C 0.142 H 103.8°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #B9AD2C |
|---|---|
| RGB | rgb(185, 173, 44) |
| HSL | hsl(55, 62%, 45%) |
| HSV | hsv(55, 76%, 73%) |
| CMYK | cmyk(0%, 6.5%, 76.2%, 27.5%) |
| CIE-LAB | lab(69.74, -9.81, 62.99) |
| CIE-LCH | lch(69.74, 63.75, 98.86°) |
| OKLab | oklab(73.58% -0.034 0.1378) |
| OKLCH | oklch(73.58% 0.142 103.8) |
| XYZ | xyz(35.4074, 40.3848, 8.3124) |
| Luminance | 0.4038 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 2.85
Olive Yellow
#C2B709
ΔE00 3.71
Puke
#A5A502
ΔE00 4.46
Brownish Yellow
#C9B003
ΔE00 4.51
Vomit
#A2A415
ΔE00 4.99
Puke Yellow
#C2BE0E
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9AD2C #2C38B9
analogous
#B9672C #B9AD2C #7EB92C
triadic
#B9AD2C #2CB9AD #AD2CB9
tetradic
#B9AD2C #2CB967 #2C38B9 #B92C7E
square
#B9AD2C #2CB967 #2C38B9 #B92C7E
split-complementary
#B9AD2C #2C7EB9 #672CB9
monochromatic
#565114 #887F20 #B9AD2C #D5C94D #E1D87F
Accessibility & contrast
On white
2.31
#B9AD2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.08
#B9AD2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9AD2C
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9AD2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9AD2C | 1.00 | 2.31 | 9.08 | 9.08 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA70E
Deuteranopia (green-blind)
#C1AD36
Tritanopia (blue-blind)
#C7A195
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b9ad2c; /* rgb */ color: rgb(185, 173, 44); /* oklch */ color: oklch(73.6% 0.142 103.8);
Tailwind
colors: {
custom: {
50: '#d2c570',
500: '#b9ad2c',
950: '#000000',
},
}SCSS
$custom: #b9ad2c; $custom-light: #d2c570; $custom-dark: #000000;
JSON
{
"hex": "#b9ad2c",
"rgb": {
"r": 185,
"g": 173,
"b": 44
},
"hsl": {
"h": 54.894,
"s": 61.572,
"l": 44.902
},
"oklch": {
"l": 0.73581,
"c": 0.14193,
"h": 103.8
},
"luminance": 0.40383
}Semantic roles & 50–950 ramp
primary
#B9AD2C
secondary
#787FC9
accent
#51E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B