#97851E#97851E

#97851E is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.5% C 0.118 H 98.7°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#97851E
RGBrgb(151, 133, 30)
HSLhsl(51, 67%, 35%)
HSVhsv(51, 80%, 59%)
CMYKcmyk(0%, 11.9%, 80.1%, 40.8%)
CIE-LABlab(55.53, -4.22, 53.53)
CIE-LCHlch(55.53, 53.70, 94.51°)
OKLaboklab(61.52% -0.0177 0.1163)
OKLCHoklch(61.52% 0.118 98.7)
XYZxyz(21.3855, 23.4492, 4.6278)
Luminance0.2345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97851E #1E3097
analogous
#97481E #97851E #6D971E
triadic
#97851E #1E9785 #851E97
tetradic
#97851E #1E9748 #1E3097 #971E6D
square
#97851E #1E9748 #1E3097 #971E6D
split-complementary
#97851E #1E6D97 #481E97
monochromatic
#312B0A #645814 #97851E #CAB228 #DDC853

Accessibility & contrast

On white

3.69
#97851E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#97851E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97851E
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97851E#FFFFFF#000000##000000
##97851E1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938104
Deuteranopia (green-blind)
#988826
Tritanopia (blue-blind)
#A37A72
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #97851e;
/* rgb */ color: rgb(151, 133, 30);
/* oklch */ color: oklch(61.5% 0.118 98.7);
Tailwind
colors: {
  custom: {
    50: '#b9a863',
    500: '#97851e',
    950: '#000000',
  },
}
SCSS
$custom: #97851e;
$custom-light: #b9a863;
$custom-dark: #000000;
JSON
{
  "hex": "#97851e",
  "rgb": {
    "r": 151,
    "g": 133,
    "b": 30
  },
  "hsl": {
    "h": 51.074,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61524,
    "c": 0.11767,
    "h": 98.7
  },
  "luminance": 0.23448
}

Semantic roles & 50–950 ramp

primary
#97851E
secondary
#5161C0
accent
#58EA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #97851E

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

Preview Lab → · Contrast checker → · Palette generator →

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