#97811E#97811E

#97811E is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.6% C 0.115 H 95.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#97811E
RGBrgb(151, 129, 30)
HSLhsl(49, 67%, 35%)
HSVhsv(49, 80%, 59%)
CMYKcmyk(0%, 14.6%, 80.1%, 40.8%)
CIE-LABlab(54.42, -2.00, 52.53)
CIE-LCHlch(54.42, 52.57, 92.18°)
OKLaboklab(60.65% -0.0114 0.1142)
OKLCHoklch(60.65% 0.115 95.7)
XYZxyz(20.8482, 22.3747, 4.4487)
Luminance0.2237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97811E #1E3497
analogous
#97441E #97811E #70971E
triadic
#97811E #1E9781 #811E97
tetradic
#97811E #1E9744 #1E3497 #971E70
square
#97811E #1E9744 #1E3497 #971E70
split-complementary
#97811E #1E7097 #441E97
monochromatic
#312A0A #645514 #97811E #CAAD28 #DDC453

Accessibility & contrast

On white

3.84
#97811E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#97811E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97811E
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97811E#FFFFFF#000000##000000
##97811E1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#958525
Tritanopia (blue-blind)
#A4766E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #97811e;
/* rgb */ color: rgb(151, 129, 30);
/* oklch */ color: oklch(60.6% 0.115 95.7);
Tailwind
colors: {
  custom: {
    50: '#baa563',
    500: '#97811e',
    950: '#000000',
  },
}
SCSS
$custom: #97811e;
$custom-light: #baa563;
$custom-dark: #000000;
JSON
{
  "hex": "#97811e",
  "rgb": {
    "r": 151,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 49.091,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60646,
    "c": 0.11475,
    "h": 95.7
  },
  "luminance": 0.22374
}

Semantic roles & 50–950 ramp

primary
#97811E
secondary
#5165C0
accent
#5DEA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #97811E

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

Preview Lab → · Contrast checker → · Palette generator →

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