#97901F#97901F

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

Color values

HEX#97901F
RGBrgb(151, 144, 31)
HSLhsl(57, 66%, 36%)
HSVhsv(57, 79%, 59%)
CMYKcmyk(0%, 4.6%, 79.5%, 40.8%)
CIE-LABlab(58.63, -10.16, 55.99)
CIE-LCHlch(58.63, 56.90, 100.28°)
OKLaboklab(63.99% -0.0343 0.1218)
OKLCHoklch(63.99% 0.127 105.7)
XYZxyz(22.9841, 26.6256, 5.2246)
Luminance0.2662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97901F #1F2697
analogous
#97541F #97901F #62971F
triadic
#97901F #1F9790 #901F97
tetradic
#97901F #1F9754 #1F2697 #971F62
square
#97901F #1F9754 #1F2697 #971F62
split-complementary
#97901F #1F6297 #541F97
monochromatic
#312F0A #646015 #97901F #CAC029 #DCD454

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97901F#FFFFFF#000000##000000
##97901F1.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: #97901f;
/* rgb */ color: rgb(151, 144, 31);
/* oklch */ color: oklch(64.0% 0.127 105.7);
Tailwind
colors: {
  custom: {
    50: '#b9b065',
    500: '#97901f',
    950: '#000000',
  },
}
SCSS
$custom: #97901f;
$custom-light: #b9b065;
$custom-dark: #000000;
JSON
{
  "hex": "#97901f",
  "rgb": {
    "r": 151,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 56.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.63985,
    "c": 0.12653,
    "h": 105.7
  },
  "luminance": 0.26625
}

Semantic roles & 50–950 ramp

primary
#97901F
secondary
#5259BF
accent
#49E93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #97901F

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

Preview Lab → · Contrast checker → · Palette generator →

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