#97901C#97901C

#97901C 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#97901C
RGBrgb(151, 144, 28)
HSLhsl(57, 69%, 35%)
HSVhsv(57, 81%, 59%)
CMYKcmyk(0%, 4.6%, 81.5%, 40.8%)
CIE-LABlab(58.61, -10.27, 56.90)
CIE-LCHlch(58.61, 57.82, 100.23°)
OKLaboklab(63.97% -0.0349 0.1232)
OKLCHoklch(63.97% 0.128 105.8)
XYZxyz(22.9464, 26.6106, 5.0260)
Luminance0.2661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97901C #1C2397
analogous
#97521C #97901C #61971C
triadic
#97901C #1C9790 #901C97
tetradic
#97901C #1C9752 #1C2397 #971C61
square
#97901C #1C9752 #1C2397 #971C61
split-complementary
#97901C #1C6197 #521C97
monochromatic
#302E09 #635F12 #97901C #CBC126 #DED64F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #97901c;
/* rgb */ color: rgb(151, 144, 28);
/* oklch */ color: oklch(64.0% 0.128 105.8);
Tailwind
colors: {
  custom: {
    50: '#b9b064',
    500: '#97901c',
    950: '#000000',
  },
}
SCSS
$custom: #97901c;
$custom-light: #b9b064;
$custom-dark: #000000;
JSON
{
  "hex": "#97901c",
  "rgb": {
    "r": 151,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 56.585,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.6397,
    "c": 0.128,
    "h": 105.8
  },
  "luminance": 0.2661
}

Semantic roles & 50–950 ramp

primary
#97901C
secondary
#4E54C1
accent
#46EC3C
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #97901C

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

Preview Lab → · Contrast checker → · Palette generator →

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