#97AB38#97AB38

#97AB38 is a light, vivid yellow-green. Relative luminance 0.360; OKLCH L 70.3% C 0.140 H 118.7°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#97AB38
RGBrgb(151, 171, 56)
HSLhsl(70, 51%, 45%)
HSVhsv(70, 67%, 67%)
CMYKcmyk(11.7%, 0%, 67.3%, 32.9%)
CIE-LABlab(66.51, -22.81, 54.47)
CIE-LCHlch(66.51, 59.05, 112.72°)
OKLaboklab(70.35% -0.0672 0.123)
OKLCHoklch(70.35% 0.14 118.7)
XYZxyz(28.0397, 35.9909, 9.2104)
Luminance0.3599 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AB38 #4C38AB
analogous
#AB8638 #97AB38 #5DAB38
triadic
#97AB38 #3897AB #AB3897
tetradic
#97AB38 #38AB86 #4C38AB #AB385D
square
#97AB38 #38AB86 #4C38AB #AB385D
split-complementary
#97AB38 #385DAB #8638AB
monochromatic
#464F1A #6E7D29 #97AB38 #B5C858 #C9D786

Accessibility & contrast

On white

2.56
#97AB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#97AB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AB38
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AB38#FFFFFF#000000##000000
##97AB381.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A228
Deuteranopia (green-blind)
#B4A241
Tritanopia (blue-blind)
#A0A294
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #97ab38;
/* rgb */ color: rgb(151, 171, 56);
/* oklch */ color: oklch(70.3% 0.140 118.7);
Tailwind
colors: {
  custom: {
    50: '#b8c475',
    500: '#97ab38',
    950: '#000000',
  },
}
SCSS
$custom: #97ab38;
$custom-light: #b8c475;
$custom-dark: #000000;
JSON
{
  "hex": "#97ab38",
  "rgb": {
    "r": 151,
    "g": 171,
    "b": 56
  },
  "hsl": {
    "h": 70.435,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70349,
    "c": 0.14016,
    "h": 118.7
  },
  "luminance": 0.35991
}

Semantic roles & 50–950 ramp

primary
#97AB38
secondary
#897DC1
accent
#4EDA66
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121209
muted
#81817B

Preview Lab

Preview with #97AB38

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

Preview Lab → · Contrast checker → · Palette generator →

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