#97AB25#97AB25

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

Color values

HEX#97AB25
RGBrgb(151, 171, 37)
HSLhsl(69, 64%, 41%)
HSVhsv(69, 78%, 67%)
CMYKcmyk(11.7%, 0%, 78.4%, 32.9%)
CIE-LABlab(66.40, -23.82, 61.15)
CIE-LCHlch(66.40, 65.62, 111.28°)
OKLaboklab(70.22% -0.0717 0.1339)
OKLCHoklch(70.22% 0.152 118.2)
XYZxyz(27.6600, 35.8390, 7.2104)
Luminance0.3584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AB25 #3925AB
analogous
#AB7C25 #97AB25 #54AB25
triadic
#97AB25 #2597AB #AB2597
tetradic
#97AB25 #25AB7C #3925AB #AB2554
square
#97AB25 #25AB7C #3925AB #AB2554
split-complementary
#97AB25 #2554AB #7C25AB
monochromatic
#3E460F #6B791A #97AB25 #BDD439 #CEDF6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AB25#FFFFFF#000000##000000
##97AB251.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)
#B7A100
Deuteranopia (green-blind)
#B5A232
Tritanopia (blue-blind)
#A1A192
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #97ab25;
/* rgb */ color: rgb(151, 171, 37);
/* oklch */ color: oklch(70.2% 0.152 118.2);
Tailwind
colors: {
  custom: {
    50: '#b9c46c',
    500: '#97ab25',
    950: '#000000',
  },
}
SCSS
$custom: #97ab25;
$custom-light: #b9c46c;
$custom-dark: #000000;
JSON
{
  "hex": "#97ab25",
  "rgb": {
    "r": 151,
    "g": 171,
    "b": 37
  },
  "hsl": {
    "h": 68.955,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70219,
    "c": 0.15188,
    "h": 118.2
  },
  "luminance": 0.35839
}

Semantic roles & 50–950 ramp

primary
#97AB25
secondary
#7567C5
accent
#40E759
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97AB25

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

Preview Lab → · Contrast checker → · Palette generator →

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