#97841E#97841E

#97841E is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.3% C 0.117 H 97.9°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#97841E
RGBrgb(151, 132, 30)
HSLhsl(51, 67%, 35%)
HSVhsv(51, 80%, 59%)
CMYKcmyk(0%, 12.6%, 80.1%, 40.8%)
CIE-LABlab(55.25, -3.67, 53.28)
CIE-LCHlch(55.25, 53.41, 93.94°)
OKLaboklab(61.3% -0.0161 0.1158)
OKLCHoklch(61.3% 0.117 97.9)
XYZxyz(21.2492, 23.1767, 4.5823)
Luminance0.2318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97841E #1E3197
analogous
#97481E #97841E #6D971E
triadic
#97841E #1E9784 #841E97
tetradic
#97841E #1E9748 #1E3197 #971E6D
square
#97841E #1E9748 #1E3197 #971E6D
split-complementary
#97841E #1E6D97 #481E97
monochromatic
#312B0A #645714 #97841E #CAB128 #DDC753

Accessibility & contrast

On white

3.73
#97841E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#97841E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97841E
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97841E#FFFFFF#000000##000000
##97841E1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928104
Deuteranopia (green-blind)
#978725
Tritanopia (blue-blind)
#A37971
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #97841e;
/* rgb */ color: rgb(151, 132, 30);
/* oklch */ color: oklch(61.3% 0.117 97.9);
Tailwind
colors: {
  custom: {
    50: '#b9a763',
    500: '#97841e',
    950: '#000000',
  },
}
SCSS
$custom: #97841e;
$custom-light: #b9a763;
$custom-dark: #000000;
JSON
{
  "hex": "#97841e",
  "rgb": {
    "r": 151,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 50.579,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61304,
    "c": 0.11691,
    "h": 97.9
  },
  "luminance": 0.23176
}

Semantic roles & 50–950 ramp

primary
#97841E
secondary
#5162C0
accent
#59EA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #97841E

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

Preview Lab → · Contrast checker → · Palette generator →

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