#97AB2F#97AB2F

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

Color values

HEX#97AB2F
RGBrgb(151, 171, 47)
HSLhsl(70, 57%, 43%)
HSVhsv(70, 73%, 67%)
CMYKcmyk(11.7%, 0%, 72.5%, 32.9%)
CIE-LABlab(66.45, -23.34, 57.86)
CIE-LCHlch(66.45, 62.39, 111.97°)
OKLaboklab(70.28% -0.0695 0.1287)
OKLCHoklch(70.28% 0.146 118.4)
XYZxyz(27.8391, 35.9106, 8.1536)
Luminance0.3591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AB2F #432FAB
analogous
#AB812F #97AB2F #59AB2F
triadic
#97AB2F #2F97AB #AB2F97
tetradic
#97AB2F #2FAB81 #432FAB #AB2F59
square
#97AB2F #2FAB81 #432FAB #AB2F59
split-complementary
#97AB2F #2F59AB #812FAB
monochromatic
#424B15 #6D7B22 #97AB2F #B8CD4A #CBDA7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AB2F#FFFFFF#000000##000000
##97AB2F1.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)
#B6A118
Deuteranopia (green-blind)
#B4A239
Tritanopia (blue-blind)
#A0A293
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #97ab2f;
/* rgb */ color: rgb(151, 171, 47);
/* oklch */ color: oklch(70.3% 0.146 118.4);
Tailwind
colors: {
  custom: {
    50: '#b9c470',
    500: '#97ab2f',
    950: '#000000',
  },
}
SCSS
$custom: #97ab2f;
$custom-light: #b9c470;
$custom-dark: #000000;
JSON
{
  "hex": "#97ab2f",
  "rgb": {
    "r": 151,
    "g": 171,
    "b": 47
  },
  "hsl": {
    "h": 69.677,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.7028,
    "c": 0.14626,
    "h": 118.4
  },
  "luminance": 0.3591
}

Semantic roles & 50–950 ramp

primary
#97AB2F
secondary
#8073C3
accent
#48E060
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97AB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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