#97921C#97921C

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

Color values

HEX#97921C
RGBrgb(151, 146, 28)
HSLhsl(58, 69%, 35%)
HSVhsv(58, 81%, 59%)
CMYKcmyk(0%, 3.3%, 81.5%, 40.8%)
CIE-LABlab(59.18, -11.34, 57.39)
CIE-LCHlch(59.18, 58.50, 101.17°)
OKLaboklab(64.42% -0.0378 0.1242)
OKLCHoklch(64.42% 0.13 106.9)
XYZxyz(23.2520, 27.2218, 5.1279)
Luminance0.2722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97921C #1C2197
analogous
#97541C #97921C #5E971C
triadic
#97921C #1C9792 #921C97
tetradic
#97921C #1C9754 #1C2197 #971C5E
square
#97921C #1C9754 #1C2197 #971C5E
split-complementary
#97921C #1C5E97 #541C97
monochromatic
#302E09 #636012 #97921C #CBC426 #DED94F

Accessibility & contrast

On white

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

On black

6.44
#97921C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97921C
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97921C#FFFFFF#000000##000000
##97921C1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.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: #97921c;
/* rgb */ color: rgb(151, 146, 28);
/* oklch */ color: oklch(64.4% 0.130 106.9);
Tailwind
colors: {
  custom: {
    50: '#b9b164',
    500: '#97921c',
    950: '#000000',
  },
}
SCSS
$custom: #97921c;
$custom-light: #b9b164;
$custom-dark: #000000;
JSON
{
  "hex": "#97921c",
  "rgb": {
    "r": 151,
    "g": 146,
    "b": 28
  },
  "hsl": {
    "h": 57.561,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.64422,
    "c": 0.12987,
    "h": 106.9
  },
  "luminance": 0.27221
}

Semantic roles & 50–950 ramp

primary
#97921C
secondary
#4E53C1
accent
#43EC3C
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #97921C

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

Preview Lab → · Contrast checker → · Palette generator →

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