#97821C#97821C

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

Color values

HEX#97821C
RGBrgb(151, 130, 28)
HSLhsl(50, 69%, 35%)
HSVhsv(50, 81%, 59%)
CMYKcmyk(0%, 13.9%, 81.5%, 40.8%)
CIE-LABlab(54.69, -2.63, 53.44)
CIE-LCHlch(54.69, 53.51, 92.82°)
OKLaboklab(60.85% -0.0134 0.1157)
OKLCHoklch(60.85% 0.116 96.6)
XYZxyz(20.9559, 22.6296, 4.3625)
Luminance0.2263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97821C #1C3197
analogous
#97441C #97821C #6F971C
triadic
#97821C #1C9782 #821C97
tetradic
#97821C #1C9744 #1C3197 #971C6F
square
#97821C #1C9744 #1C3197 #971C6F
split-complementary
#97821C #1C6F97 #441C97
monochromatic
#302909 #635612 #97821C #CBAE26 #DEC64F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97821C#FFFFFF#000000##000000
##97821C1.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)
#907F01
Deuteranopia (green-blind)
#968623
Tritanopia (blue-blind)
#A4776F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #97821c;
/* rgb */ color: rgb(151, 130, 28);
/* oklch */ color: oklch(60.9% 0.116 96.6);
Tailwind
colors: {
  custom: {
    50: '#baa562',
    500: '#97821c',
    950: '#000000',
  },
}
SCSS
$custom: #97821c;
$custom-light: #baa562;
$custom-dark: #000000;
JSON
{
  "hex": "#97821c",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 49.756,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60853,
    "c": 0.11647,
    "h": 96.6
  },
  "luminance": 0.22628
}

Semantic roles & 50–950 ramp

primary
#97821C
secondary
#4E62C1
accent
#5AEC3C
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #97821C

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

Preview Lab → · Contrast checker → · Palette generator →

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