#97831E#97831E
#97831E is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.1% C 0.116 H 97.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #97831E |
|---|---|
| RGB | rgb(151, 131, 30) |
| HSL | hsl(50, 67%, 35%) |
| HSV | hsv(50, 80%, 59%) |
| CMYK | cmyk(0%, 13.2%, 80.1%, 40.8%) |
| CIE-LAB | lab(54.98, -3.11, 53.03) |
| CIE-LCH | lch(54.98, 53.12, 93.36°) |
| OKLab | oklab(61.08% -0.0146 0.1153) |
| OKLCH | oklch(61.08% 0.116 97.2) |
| XYZ | xyz(21.1143, 22.9068, 4.5374) |
| Luminance | 0.2291 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.92
Diarrhea
#9F8303
ΔE00 3.01
Dark Mustard
#A88905
ΔE00 4.77
Yellowish Brown
#9B7A01
ΔE00 4.83
Puke Brown
#947706
ΔE00 4.85
Hazel
#8E7618
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97831E #1E3297
analogous
#97471E #97831E #6E971E
triadic
#97831E #1E9783 #831E97
tetradic
#97831E #1E9747 #1E3297 #971E6E
square
#97831E #1E9747 #1E3297 #971E6E
split-complementary
#97831E #1E6E97 #471E97
monochromatic
#312A0A #645714 #97831E #CAAF28 #DDC653
Accessibility & contrast
On white
3.76
#97831E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#97831E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97831E
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97831E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97831E | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918005
Deuteranopia (green-blind)
#968625
Tritanopia (blue-blind)
#A47870
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #97831e; /* rgb */ color: rgb(151, 131, 30); /* oklch */ color: oklch(61.1% 0.116 97.2);
Tailwind
colors: {
custom: {
50: '#b9a663',
500: '#97831e',
950: '#000000',
},
}SCSS
$custom: #97831e; $custom-light: #b9a663; $custom-dark: #000000;
JSON
{
"hex": "#97831e",
"rgb": {
"r": 151,
"g": 131,
"b": 30
},
"hsl": {
"h": 50.083,
"s": 66.851,
"l": 35.49
},
"oklch": {
"l": 0.61084,
"c": 0.11617,
"h": 97.2
},
"luminance": 0.22906
}Semantic roles & 50–950 ramp
primary
#97831E
secondary
#5163C0
accent
#5AEA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A