#97AB2D#97AB2D

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

Color values

HEX#97AB2D
RGBrgb(151, 171, 45)
HSLhsl(70, 58%, 42%)
HSVhsv(70, 74%, 67%)
CMYKcmyk(11.7%, 0%, 73.7%, 32.9%)
CIE-LABlab(66.44, -23.45, 58.56)
CIE-LCHlch(66.44, 63.08, 111.82°)
OKLaboklab(70.27% -0.07 0.1298)
OKLCHoklch(70.27% 0.147 118.3)
XYZxyz(27.7997, 35.8948, 7.9460)
Luminance0.3589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AB2D #412DAB
analogous
#AB802D #97AB2D #58AB2D
triadic
#97AB2D #2D97AB #AB2D97
tetradic
#97AB2D #2DAB80 #412DAB #AB2D58
square
#97AB2D #2DAB80 #412DAB #AB2D58
split-complementary
#97AB2D #2D58AB #802DAB
monochromatic
#414A14 #6C7B20 #97AB2D #B9CE47 #CBDB77

Accessibility & contrast

On white

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

On black

8.18
#97AB2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AB2D
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AB2D#FFFFFF#000000##000000
##97AB2D1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A114
Deuteranopia (green-blind)
#B4A238
Tritanopia (blue-blind)
#A0A193
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #97ab2d;
/* rgb */ color: rgb(151, 171, 45);
/* oklch */ color: oklch(70.3% 0.147 118.3);
Tailwind
colors: {
  custom: {
    50: '#b9c46f',
    500: '#97ab2d',
    950: '#000000',
  },
}
SCSS
$custom: #97ab2d;
$custom-light: #b9c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#97ab2d",
  "rgb": {
    "r": 151,
    "g": 171,
    "b": 45
  },
  "hsl": {
    "h": 69.524,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70267,
    "c": 0.14748,
    "h": 118.3
  },
  "luminance": 0.35895
}

Semantic roles & 50–950 ramp

primary
#97AB2D
secondary
#7E71C3
accent
#46E25F
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97AB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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