#B9B73D#B9B73D
#B9B73D is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.9% C 0.141 H 108.4°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #B9B73D |
|---|---|
| RGB | rgb(185, 183, 61) |
| HSL | hsl(59, 50%, 48%) |
| HSV | hsv(59, 67%, 73%) |
| CMYK | cmyk(0%, 1.1%, 67%, 27.5%) |
| CIE-LAB | lab(72.57, -14.14, 59.52) |
| CIE-LCH | lch(72.57, 61.18, 103.36°) |
| OKLab | oklab(75.87% -0.0445 0.1335) |
| OKLCH | oklch(75.87% 0.141 108.4) |
| XYZ | xyz(37.7847, 44.5193, 11.0167) |
| Luminance | 0.4452 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 4.25
Olive Yellow
#C2B709
ΔE00 4.40
Mustard Green
#A8B504
ΔE00 4.52
Snot
#ACBB0D
ΔE00 4.66
Vomit Yellow
#C7C10C
ΔE00 5.04
Bile
#B5C306
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9B73D #3D3FB9
analogous
#B9793D #B9B73D #7DB93D
triadic
#B9B73D #3DB9B7 #B73DB9
tetradic
#B9B73D #3DB979 #3D3FB9 #B93D7D
square
#B9B73D #3DB979 #3D3FB9 #B93D7D
split-complementary
#B9B73D #3D7DB9 #793DB9
monochromatic
#5D5C1F #8B892E #B9B73D #CDCB66 #DCDB95
Accessibility & contrast
On white
2.12
#B9B73D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.90
#B9B73D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9B73D
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9B73D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9B73D | 1.00 | 2.12 | 9.90 | 9.90 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B02B
Deuteranopia (green-blind)
#C8B445
Tritanopia (blue-blind)
#C6AB9E
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b9b73d; /* rgb */ color: rgb(185, 183, 61); /* oklch */ color: oklch(75.9% 0.141 108.4);
Tailwind
colors: {
custom: {
50: '#d1cc79',
500: '#b9b73d',
950: '#000000',
},
}SCSS
$custom: #b9b73d; $custom-light: #d1cc79; $custom-dark: #000000;
JSON
{
"hex": "#b9b73d",
"rgb": {
"r": 185,
"g": 183,
"b": 61
},
"hsl": {
"h": 59.032,
"s": 50.407,
"l": 48.235
},
"oklch": {
"l": 0.75871,
"c": 0.14072,
"h": 108.4
},
"luminance": 0.44518
}Semantic roles & 50–950 ramp
primary
#B9B73D
secondary
#8B8BC7
accent
#50DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C