#97A01A#97A01A

#97A01A is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.6% C 0.145 H 113.8°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#97A01A
RGBrgb(151, 160, 26)
HSLhsl(64, 72%, 36%)
HSVhsv(64, 84%, 63%)
CMYKcmyk(5.6%, 0%, 83.8%, 37.3%)
CIE-LABlab(63.17, -18.70, 61.38)
CIE-LCHlch(63.17, 64.17, 106.94°)
OKLaboklab(67.61% -0.0584 0.1325)
OKLCHoklch(67.61% 0.145 113.8)
XYZxyz(25.5206, 31.7961, 5.7700)
Luminance0.3180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A01A #231AA0
analogous
#A0661A #97A01A #54A01A
triadic
#97A01A #1A97A0 #A01A97
tetradic
#97A01A #1AA066 #231AA0 #A01A54
square
#97A01A #1AA066 #231AA0 #A01A54
split-complementary
#97A01A #1A54A0 #661AA0
monochromatic
#343709 #656B11 #97A01A #C9D523 #D9E352

Accessibility & contrast

On white

2.85
#97A01A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#97A01A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A01A
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A01A#FFFFFF#000000##000000
##97A01A1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AC9A28
Tritanopia (blue-blind)
#A29688
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #97a01a;
/* rgb */ color: rgb(151, 160, 26);
/* oklch */ color: oklch(67.6% 0.145 113.8);
Tailwind
colors: {
  custom: {
    50: '#b9bb66',
    500: '#97a01a',
    950: '#000000',
  },
}
SCSS
$custom: #97a01a;
$custom-light: #b9bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#97a01a",
  "rgb": {
    "r": 151,
    "g": 160,
    "b": 26
  },
  "hsl": {
    "h": 64.03,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.67614,
    "c": 0.14478,
    "h": 113.8
  },
  "luminance": 0.31796
}

Semantic roles & 50–950 ramp

primary
#97A01A
secondary
#5850C5
accent
#39EF45
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #97A01A

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

Preview Lab → · Contrast checker → · Palette generator →

#97A01A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva