#97901E#97901E

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

Color values

HEX#97901E
RGBrgb(151, 144, 30)
HSLhsl(57, 67%, 35%)
HSVhsv(57, 80%, 59%)
CMYKcmyk(0%, 4.6%, 80.1%, 40.8%)
CIE-LABlab(58.62, -10.20, 56.30)
CIE-LCHlch(58.62, 57.22, 100.27°)
OKLaboklab(63.98% -0.0345 0.1223)
OKLCHoklch(63.98% 0.127 105.8)
XYZxyz(22.9711, 26.6205, 5.1563)
Luminance0.2662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97901E #1E2597
analogous
#97531E #97901E #61971E
triadic
#97901E #1E9790 #901E97
tetradic
#97901E #1E9753 #1E2597 #971E61
square
#97901E #1E9753 #1E2597 #971E61
split-complementary
#97901E #1E6197 #531E97
monochromatic
#312F0A #645F14 #97901E #CAC128 #DDD553

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #97901e;
/* rgb */ color: rgb(151, 144, 30);
/* oklch */ color: oklch(64.0% 0.127 105.8);
Tailwind
colors: {
  custom: {
    50: '#b9b065',
    500: '#97901e',
    950: '#000000',
  },
}
SCSS
$custom: #97901e;
$custom-light: #b9b065;
$custom-dark: #000000;
JSON
{
  "hex": "#97901e",
  "rgb": {
    "r": 151,
    "g": 144,
    "b": 30
  },
  "hsl": {
    "h": 56.529,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.6398,
    "c": 0.12703,
    "h": 105.8
  },
  "luminance": 0.2662
}

Semantic roles & 50–950 ramp

primary
#97901E
secondary
#5157C0
accent
#48EA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #97901E

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

Preview Lab → · Contrast checker → · Palette generator →

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