#97901D#97901D

#97901D is a light, vivid yellow. Relative luminance 0.266; OKLCH L 64.0% C 0.128 H 105.8°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#97901D
RGBrgb(151, 144, 29)
HSLhsl(57, 68%, 35%)
HSVhsv(57, 81%, 59%)
CMYKcmyk(0%, 4.6%, 80.8%, 40.8%)
CIE-LABlab(58.62, -10.23, 56.60)
CIE-LCHlch(58.62, 57.52, 100.25°)
OKLaboklab(63.98% -0.0347 0.1227)
OKLCHoklch(63.98% 0.128 105.8)
XYZxyz(22.9585, 26.6154, 5.0901)
Luminance0.2661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97901D #1D2497
analogous
#97531D #97901D #61971D
triadic
#97901D #1D9790 #901D97
tetradic
#97901D #1D9753 #1D2497 #971D61
square
#97901D #1D9753 #1D2497 #971D61
split-complementary
#97901D #1D6197 #531D97
monochromatic
#302E09 #645F13 #97901D #CAC127 #DED551

Accessibility & contrast

On white

3.32
#97901D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#97901D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97901D
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97901D#FFFFFF#000000##000000
##97901D1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#A08F27
Tritanopia (blue-blind)
#A3867B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #97901d;
/* rgb */ color: rgb(151, 144, 29);
/* oklch */ color: oklch(64.0% 0.128 105.8);
Tailwind
colors: {
  custom: {
    50: '#b9b064',
    500: '#97901d',
    950: '#000000',
  },
}
SCSS
$custom: #97901d;
$custom-light: #b9b064;
$custom-dark: #000000;
JSON
{
  "hex": "#97901d",
  "rgb": {
    "r": 151,
    "g": 144,
    "b": 29
  },
  "hsl": {
    "h": 56.557,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.63975,
    "c": 0.12753,
    "h": 105.8
  },
  "luminance": 0.26615
}

Semantic roles & 50–950 ramp

primary
#97901D
secondary
#4F56C0
accent
#47EB3D
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #97901D

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

Preview Lab → · Contrast checker → · Palette generator →

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