#97812E#97812E

#97812E is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.8% C 0.104 H 94.1°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#97812E
RGBrgb(151, 129, 46)
HSLhsl(47, 53%, 39%)
HSVhsv(47, 70%, 59%)
CMYKcmyk(0%, 14.6%, 69.5%, 40.8%)
CIE-LABlab(54.53, -1.23, 46.30)
CIE-LCHlch(54.53, 46.32, 91.52°)
OKLaboklab(60.77% -0.0074 0.1041)
OKLCHoklch(60.77% 0.104 94.1)
XYZxyz(21.1069, 22.4782, 5.8112)
Luminance0.2248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97812E #2E4497
analogous
#974D2E #97812E #78972E
triadic
#97812E #2E9781 #812E97
tetradic
#97812E #2E974D #2E4497 #972E78
square
#97812E #2E974D #2E4497 #972E78
split-complementary
#97812E #2E7897 #4D2E97
monochromatic
#393111 #685920 #97812E #C4A83E #D2BD6D

Accessibility & contrast

On white

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

On black

5.50
#97812E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97812E
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97812E#FFFFFF#000000##000000
##97812E1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97812e;
/* rgb */ color: rgb(151, 129, 46);
/* oklch */ color: oklch(60.8% 0.104 94.1);
Tailwind
colors: {
  custom: {
    50: '#b9a56b',
    500: '#97812e',
    950: '#000000',
  },
}
SCSS
$custom: #97812e;
$custom-light: #b9a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#97812e",
  "rgb": {
    "r": 151,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 47.429,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60766,
    "c": 0.1044,
    "h": 94.1
  },
  "luminance": 0.22477
}

Semantic roles & 50–950 ramp

primary
#97812E
secondary
#6778BA
accent
#6ADD4B
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #97812E

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

Preview Lab → · Contrast checker → · Palette generator →

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