#97813B#97813B

#97813B is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.9% C 0.093 H 92.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#97813B
RGBrgb(151, 129, 59)
HSLhsl(46, 44%, 41%)
HSVhsv(46, 61%, 59%)
CMYKcmyk(0%, 14.6%, 60.9%, 40.8%)
CIE-LABlab(54.65, -0.35, 40.31)
CIE-LCHlch(54.65, 40.31, 90.50°)
OKLaboklab(60.9% -0.0032 0.0934)
OKLCHoklch(60.9% 0.093 92)
XYZxyz(21.4031, 22.5967, 7.3711)
Luminance0.2260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97813B #3B5197
analogous
#97533B #97813B #7F973B
triadic
#97813B #3B9781 #813B97
tetradic
#97813B #3B9753 #3B5197 #973B7F
square
#97813B #3B9753 #3B5197 #973B7F
split-complementary
#97813B #3B7F97 #533B97
monochromatic
#3F3619 #6B5B2A #97813B #BCA353 #CDBA7F

Accessibility & contrast

On white

3.80
#97813B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#97813B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97813B
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97813B#FFFFFF#000000##000000
##97813B1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F34
Deuteranopia (green-blind)
#93853E
Tritanopia (blue-blind)
#A37871
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #97813b;
/* rgb */ color: rgb(151, 129, 59);
/* oklch */ color: oklch(60.9% 0.093 92.0);
Tailwind
colors: {
  custom: {
    50: '#b8a573',
    500: '#97813b',
    950: '#000000',
  },
}
SCSS
$custom: #97813b;
$custom-light: #b8a573;
$custom-dark: #000000;
JSON
{
  "hex": "#97813b",
  "rgb": {
    "r": 151,
    "g": 129,
    "b": 59
  },
  "hsl": {
    "h": 45.652,
    "s": 43.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.60903,
    "c": 0.09345,
    "h": 92
  },
  "luminance": 0.22596
}

Semantic roles & 50–950 ramp

primary
#97813B
secondary
#7786B7
accent
#73D454
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B

Preview Lab

Preview with #97813B

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

Preview Lab → · Contrast checker → · Palette generator →

#97813B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva