#97812C#97812C

#97812C is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.7% C 0.106 H 94.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#97812C
RGBrgb(151, 129, 44)
HSLhsl(48, 55%, 38%)
HSVhsv(48, 71%, 59%)
CMYKcmyk(0%, 14.6%, 70.9%, 40.8%)
CIE-LABlab(54.51, -1.34, 47.16)
CIE-LCHlch(54.51, 47.18, 91.63°)
OKLaboklab(60.75% -0.008 0.1056)
OKLCHoklch(60.75% 0.106 94.3)
XYZxyz(21.0684, 22.4628, 5.6084)
Luminance0.2246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97812C #2C4297
analogous
#974C2C #97812C #77972C
triadic
#97812C #2C9781 #812C97
tetradic
#97812C #2C974C #2C4297 #972C77
square
#97812C #2C974C #2C4297 #972C77
split-complementary
#97812C #2C7797 #4C2C97
monochromatic
#383010 #68591E #97812C #C6A93A #D4BE6A

Accessibility & contrast

On white

3.82
#97812C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#97812C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97812C
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97812C#FFFFFF#000000##000000
##97812C1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F20
Deuteranopia (green-blind)
#948531
Tritanopia (blue-blind)
#A37770
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #97812c;
/* rgb */ color: rgb(151, 129, 44);
/* oklch */ color: oklch(60.7% 0.106 94.3);
Tailwind
colors: {
  custom: {
    50: '#b9a56a',
    500: '#97812c',
    950: '#000000',
  },
}
SCSS
$custom: #97812c;
$custom-light: #b9a56a;
$custom-dark: #000000;
JSON
{
  "hex": "#97812c",
  "rgb": {
    "r": 151,
    "g": 129,
    "b": 44
  },
  "hsl": {
    "h": 47.664,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60748,
    "c": 0.10589,
    "h": 94.3
  },
  "luminance": 0.22462
}

Semantic roles & 50–950 ramp

primary
#97812C
secondary
#6576BA
accent
#68DE4A
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #97812C

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

Preview Lab → · Contrast checker → · Palette generator →

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