#997F30#997F30
#997F30 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.6% C 0.102 H 90.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #997F30 |
|---|---|
| RGB | rgb(153, 127, 48) |
| HSL | hsl(45, 52%, 39%) |
| HSV | hsv(45, 69%, 60%) |
| CMYK | cmyk(0%, 17%, 68.6%, 40%) |
| CIE-LAB | lab(54.20, 0.92, 45.12) |
| CIE-LCH | lch(54.20, 45.13, 88.83°) |
| OKLab | oklab(60.56% -0.0011 0.1019) |
| OKLCH | oklch(60.56% 0.102 90.6) |
| XYZ | xyz(21.2608, 22.1657, 5.9543) |
| Luminance | 0.2216 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.19
Yellowish Brown
#9B7A01
ΔE00 4.37
Puke Brown
#947706
ΔE00 4.39
Baby Poop
#937C00
ΔE00 4.56
Diarrhea
#9F8303
ΔE00 4.76
Poo
#8F7303
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997F30 #304A99
analogous
#994B30 #997F30 #7F9930
triadic
#997F30 #30997F #7F3099
tetradic
#997F30 #30994B #304A99 #99307F
square
#997F30 #30994B #304A99 #99307F
split-complementary
#997F30 #307F99 #4B3099
monochromatic
#3C3213 #6A5821 #997F30 #C4A442 #D2BA71
Accessibility & contrast
On white
3.87
#997F30 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#997F30 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997F30
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997F30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997F30 | 1.00 | 3.87 | 5.43 | 5.43 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7D26
Deuteranopia (green-blind)
#938534
Tritanopia (blue-blind)
#A5756E
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #997f30; /* rgb */ color: rgb(153, 127, 48); /* oklch */ color: oklch(60.6% 0.102 90.6);
Tailwind
colors: {
custom: {
50: '#baa36c',
500: '#997f30',
950: '#000000',
},
}SCSS
$custom: #997f30; $custom-light: #baa36c; $custom-dark: #000000;
JSON
{
"hex": "#997f30",
"rgb": {
"r": 153,
"g": 127,
"b": 48
},
"hsl": {
"h": 45.143,
"s": 52.239,
"l": 39.412
},
"oklch": {
"l": 0.60559,
"c": 0.10193,
"h": 90.6
},
"luminance": 0.22164
}Semantic roles & 50–950 ramp
primary
#997F30
secondary
#6B7EBA
accent
#70DC4C
background
#FBFAF6
surface
#F7F3EC
border
#D0CDC7
text
#120F07
muted
#817F7A