#9D992F#9D992F
#9D992F is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.7% C 0.125 H 107.2°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #9D992F |
|---|---|
| RGB | rgb(157, 153, 47) |
| HSL | hsl(58, 54%, 40%) |
| HSV | hsv(58, 70%, 62%) |
| CMYK | cmyk(0%, 2.5%, 70.1%, 38.4%) |
| CIE-LAB | lab(61.79, -11.52, 53.43) |
| CIE-LCH | lch(61.79, 54.66, 102.16°) |
| OKLab | oklab(66.66% -0.0369 0.1192) |
| OKLCH | oklch(66.66% 0.125 107.2) |
| XYZ | xyz(25.8099, 30.1567, 7.1500) |
| Luminance | 0.3016 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.88
Baby Poop Green
#8F9805
ΔE00 4.18
Vomit
#A2A415
ΔE00 4.42
Puke
#A5A502
ΔE00 5.15
Baby Shit Green
#889717
ΔE00 5.30
Pea Soup Green
#94A617
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D992F #2F339D
analogous
#9D622F #9D992F #6A9D2F
triadic
#9D992F #2F9D99 #992F9D
tetradic
#9D992F #2F9D62 #2F339D #9D2F6A
square
#9D992F #2F9D62 #2F339D #9D2F6A
split-complementary
#9D992F #2F6A9D #622F9D
monochromatic
#3F3D13 #6E6B21 #9D992F #C7C243 #D5D172
Accessibility & contrast
On white
2.99
#9D992F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.03
#9D992F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9D992F
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D992F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D992F | 1.00 | 2.99 | 7.03 | 7.03 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A6931E
Deuteranopia (green-blind)
#A89736
Tritanopia (blue-blind)
#A88F84
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #9d992f; /* rgb */ color: rgb(157, 153, 47); /* oklch */ color: oklch(66.7% 0.125 107.2);
Tailwind
colors: {
custom: {
50: '#bdb66e',
500: '#9d992f',
950: '#000000',
},
}SCSS
$custom: #9d992f; $custom-light: #bdb66e; $custom-dark: #000000;
JSON
{
"hex": "#9d992f",
"rgb": {
"r": 157,
"g": 153,
"b": 47
},
"hsl": {
"h": 57.818,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.66664,
"c": 0.12474,
"h": 107.2
},
"luminance": 0.30156
}Semantic roles & 50–950 ramp
primary
#9D992F
secondary
#6B6EBC
accent
#50DD4B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121108
muted
#81807B