#97821E#97821E

#97821E is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.9% C 0.115 H 96.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#97821E
RGBrgb(151, 130, 30)
HSLhsl(50, 67%, 35%)
HSVhsv(50, 80%, 59%)
CMYKcmyk(0%, 13.9%, 80.1%, 40.8%)
CIE-LABlab(54.70, -2.56, 52.78)
CIE-LCHlch(54.70, 52.85, 92.78°)
OKLaboklab(60.87% -0.013 0.1147)
OKLCHoklch(60.87% 0.115 96.5)
XYZxyz(20.9806, 22.6395, 4.4928)
Luminance0.2264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97821E #1E3397
analogous
#97461E #97821E #6F971E
triadic
#97821E #1E9782 #821E97
tetradic
#97821E #1E9746 #1E3397 #971E6F
square
#97821E #1E9746 #1E3397 #971E6F
split-complementary
#97821E #1E6F97 #461E97
monochromatic
#312A0A #645614 #97821E #CAAE28 #DDC553

Accessibility & contrast

On white

3.80
#97821E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#97821E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97821E
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97821E#FFFFFF#000000##000000
##97821E1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F06
Deuteranopia (green-blind)
#968625
Tritanopia (blue-blind)
#A4776F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #97821e;
/* rgb */ color: rgb(151, 130, 30);
/* oklch */ color: oklch(60.9% 0.115 96.5);
Tailwind
colors: {
  custom: {
    50: '#baa563',
    500: '#97821e',
    950: '#000000',
  },
}
SCSS
$custom: #97821e;
$custom-light: #baa563;
$custom-dark: #000000;
JSON
{
  "hex": "#97821e",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 49.587,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60865,
    "c": 0.11545,
    "h": 96.5
  },
  "luminance": 0.22638
}

Semantic roles & 50–950 ramp

primary
#97821E
secondary
#5164C0
accent
#5CEA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #97821E

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

Preview Lab → · Contrast checker → · Palette generator →

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