#97811D#97811D

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

Color values

HEX#97811D
RGBrgb(151, 129, 29)
HSLhsl(49, 68%, 35%)
HSVhsv(49, 81%, 59%)
CMYKcmyk(0%, 14.6%, 80.8%, 40.8%)
CIE-LABlab(54.42, -2.04, 52.87)
CIE-LCHlch(54.42, 52.91, 92.21°)
OKLaboklab(60.64% -0.0116 0.1147)
OKLCHoklch(60.64% 0.115 95.8)
XYZxyz(20.8357, 22.3697, 4.3825)
Luminance0.2237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97811D #1D3397
analogous
#97441D #97811D #70971D
triadic
#97811D #1D9781 #811D97
tetradic
#97811D #1D9744 #1D3397 #971D70
square
#97811D #1D9744 #1D3397 #971D70
split-complementary
#97811D #1D7097 #441D97
monochromatic
#302909 #645513 #97811D #CAAD27 #DEC451

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97811D#FFFFFF#000000##000000
##97811D1.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)
#8F7E04
Deuteranopia (green-blind)
#958524
Tritanopia (blue-blind)
#A4766E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #97811d;
/* rgb */ color: rgb(151, 129, 29);
/* oklch */ color: oklch(60.6% 0.115 95.8);
Tailwind
colors: {
  custom: {
    50: '#baa562',
    500: '#97811d',
    950: '#000000',
  },
}
SCSS
$custom: #97811d;
$custom-light: #baa562;
$custom-dark: #000000;
JSON
{
  "hex": "#97811d",
  "rgb": {
    "r": 151,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 49.18,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.6064,
    "c": 0.11527,
    "h": 95.8
  },
  "luminance": 0.22369
}

Semantic roles & 50–950 ramp

primary
#97811D
secondary
#4F64C0
accent
#5CEB3D
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #97811D

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

Preview Lab → · Contrast checker → · Palette generator →

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