#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
RGBrgb(151, 131, 30)
HSLhsl(50, 67%, 35%)
HSVhsv(50, 80%, 59%)
CMYKcmyk(0%, 13.2%, 80.1%, 40.8%)
CIE-LABlab(54.98, -3.11, 53.03)
CIE-LCHlch(54.98, 53.12, 93.36°)
OKLaboklab(61.08% -0.0146 0.1153)
OKLCHoklch(61.08% 0.116 97.2)
XYZxyz(21.1143, 22.9068, 4.5374)
Luminance0.2291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

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
##97831E1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.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

Preview Lab

Preview with #97831E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#97831E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva