#97901A#97901A

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

Color values

HEX#97901A
RGBrgb(151, 144, 26)
HSLhsl(57, 71%, 35%)
HSVhsv(57, 83%, 59%)
CMYKcmyk(0%, 4.6%, 82.8%, 40.8%)
CIE-LABlab(58.60, -10.34, 57.47)
CIE-LCHlch(58.60, 58.39, 100.20°)
OKLaboklab(63.96% -0.0352 0.124)
OKLCHoklch(63.96% 0.129 105.9)
XYZxyz(22.9232, 26.6013, 4.9042)
Luminance0.2660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97901A #1A2197
analogous
#97521A #97901A #60971A
triadic
#97901A #1A9790 #901A97
tetradic
#97901A #1A9752 #1A2197 #971A60
square
#97901A #1A9752 #1A2197 #971A60
split-complementary
#97901A #1A6097 #521A97
monochromatic
#2F2C08 #635E11 #97901A #CBC223 #E0D84B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97901A#FFFFFF#000000##000000
##97901A1.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)
#A08F25
Tritanopia (blue-blind)
#A3867B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #97901a;
/* rgb */ color: rgb(151, 144, 26);
/* oklch */ color: oklch(64.0% 0.129 105.9);
Tailwind
colors: {
  custom: {
    50: '#b9b063',
    500: '#97901a',
    950: '#000000',
  },
}
SCSS
$custom: #97901a;
$custom-light: #b9b063;
$custom-dark: #000000;
JSON
{
  "hex": "#97901a",
  "rgb": {
    "r": 151,
    "g": 144,
    "b": 26
  },
  "hsl": {
    "h": 56.64,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.6396,
    "c": 0.1289,
    "h": 105.9
  },
  "luminance": 0.266
}

Semantic roles & 50–950 ramp

primary
#97901A
secondary
#4B51C2
accent
#44ED3A
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #97901A

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

Preview Lab → · Contrast checker → · Palette generator →

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