#97811C#97811C

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

Color values

HEX#97811C
RGBrgb(151, 129, 28)
HSLhsl(49, 69%, 35%)
HSVhsv(49, 81%, 59%)
CMYKcmyk(0%, 14.6%, 81.5%, 40.8%)
CIE-LABlab(54.41, -2.08, 53.19)
CIE-LCHlch(54.41, 53.24, 92.24°)
OKLaboklab(60.63% -0.0118 0.1152)
OKLCHoklch(60.63% 0.116 95.9)
XYZxyz(20.8235, 22.3648, 4.3184)
Luminance0.2236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97811C #1C3297
analogous
#97431C #97811C #70971C
triadic
#97811C #1C9781 #811C97
tetradic
#97811C #1C9743 #1C3297 #971C70
square
#97811C #1C9743 #1C3297 #971C70
split-complementary
#97811C #1C7097 #431C97
monochromatic
#302909 #635512 #97811C #CBAD26 #DEC54F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97811C#FFFFFF#000000##000000
##97811C1.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)
#8F7E01
Deuteranopia (green-blind)
#958523
Tritanopia (blue-blind)
#A4766E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #97811c;
/* rgb */ color: rgb(151, 129, 28);
/* oklch */ color: oklch(60.6% 0.116 95.9);
Tailwind
colors: {
  custom: {
    50: '#baa562',
    500: '#97811c',
    950: '#000000',
  },
}
SCSS
$custom: #97811c;
$custom-light: #baa562;
$custom-dark: #000000;
JSON
{
  "hex": "#97811c",
  "rgb": {
    "r": 151,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 49.268,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60634,
    "c": 0.11578,
    "h": 95.9
  },
  "luminance": 0.22364
}

Semantic roles & 50–950 ramp

primary
#97811C
secondary
#4E62C1
accent
#5CEC3C
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #97811C

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

Preview Lab → · Contrast checker → · Palette generator →

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