#97AB2A#97AB2A

#97AB2A is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.2% C 0.149 H 118.3°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#97AB2A
RGBrgb(151, 171, 42)
HSLhsl(69, 61%, 42%)
HSVhsv(69, 75%, 67%)
CMYKcmyk(11.7%, 0%, 75.4%, 32.9%)
CIE-LABlab(66.42, -23.59, 59.57)
CIE-LCHlch(66.42, 64.07, 111.61°)
OKLaboklab(70.25% -0.0707 0.1314)
OKLCHoklch(70.25% 0.149 118.3)
XYZxyz(27.7440, 35.8725, 7.6526)
Luminance0.3587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AB2A #3E2AAB
analogous
#AB7F2A #97AB2A #57AB2A
triadic
#97AB2A #2A97AB #AB2A97
tetradic
#97AB2A #2AAB7F #3E2AAB #AB2A57
square
#97AB2A #2AAB7F #3E2AAB #AB2A57
split-complementary
#97AB2A #2A57AB #7F2AAB
monochromatic
#404912 #6C7A1E #97AB2A #BAD142 #CCDD73

Accessibility & contrast

On white

2.57
#97AB2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#97AB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AB2A
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AB2A#FFFFFF#000000##000000
##97AB2A1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A10C
Deuteranopia (green-blind)
#B4A236
Tritanopia (blue-blind)
#A0A193
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #97ab2a;
/* rgb */ color: rgb(151, 171, 42);
/* oklch */ color: oklch(70.2% 0.149 118.3);
Tailwind
colors: {
  custom: {
    50: '#b9c46e',
    500: '#97ab2a',
    950: '#000000',
  },
}
SCSS
$custom: #97ab2a;
$custom-light: #b9c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#97ab2a",
  "rgb": {
    "r": 151,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 69.302,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70248,
    "c": 0.14922,
    "h": 118.3
  },
  "luminance": 0.35872
}

Semantic roles & 50–950 ramp

primary
#97AB2A
secondary
#7A6DC4
accent
#44E45D
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #97AB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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