#97921D#97921D

#97921D is a light, vivid yellow. Relative luminance 0.272; OKLCH L 64.4% C 0.129 H 106.9°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#97921D
RGBrgb(151, 146, 29)
HSLhsl(58, 68%, 35%)
HSVhsv(58, 81%, 59%)
CMYKcmyk(0%, 3.3%, 80.8%, 40.8%)
CIE-LABlab(59.18, -11.30, 57.10)
CIE-LCHlch(59.18, 58.21, 101.19°)
OKLaboklab(64.43% -0.0377 0.1238)
OKLCHoklch(64.43% 0.129 106.9)
XYZxyz(23.2641, 27.2266, 5.1920)
Luminance0.2723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97921D #1D2297
analogous
#97551D #97921D #5F971D
triadic
#97921D #1D9792 #921D97
tetradic
#97921D #1D9755 #1D2297 #971D5F
square
#97921D #1D9755 #1D2297 #971D5F
split-complementary
#97921D #1D5F97 #551D97
monochromatic
#302F09 #646013 #97921D #CAC427 #DED851

Accessibility & contrast

On white

3.26
#97921D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#97921D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97921D
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97921D#FFFFFF#000000##000000
##97921D1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#A19027
Tritanopia (blue-blind)
#A3887D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #97921d;
/* rgb */ color: rgb(151, 146, 29);
/* oklch */ color: oklch(64.4% 0.129 106.9);
Tailwind
colors: {
  custom: {
    50: '#b9b165',
    500: '#97921d',
    950: '#000000',
  },
}
SCSS
$custom: #97921d;
$custom-light: #b9b165;
$custom-dark: #000000;
JSON
{
  "hex": "#97921d",
  "rgb": {
    "r": 151,
    "g": 146,
    "b": 29
  },
  "hsl": {
    "h": 57.541,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.64427,
    "c": 0.12939,
    "h": 106.9
  },
  "luminance": 0.27226
}

Semantic roles & 50–950 ramp

primary
#97921D
secondary
#4F54C0
accent
#44EB3D
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #97921D

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

Preview Lab → · Contrast checker → · Palette generator →

#97921D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva