#97AB26#97AB26

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

Color values

HEX#97AB26
RGBrgb(151, 171, 38)
HSLhsl(69, 64%, 41%)
HSVhsv(69, 78%, 67%)
CMYKcmyk(11.7%, 0%, 77.8%, 32.9%)
CIE-LABlab(66.40, -23.78, 60.84)
CIE-LCHlch(66.40, 65.32, 111.34°)
OKLaboklab(70.22% -0.0715 0.1334)
OKLCHoklch(70.22% 0.151 118.2)
XYZxyz(27.6759, 35.8453, 7.2942)
Luminance0.3584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AB26 #3A26AB
analogous
#AB7C26 #97AB26 #54AB26
triadic
#97AB26 #2697AB #AB2697
tetradic
#97AB26 #26AB7C #3A26AB #AB2654
square
#97AB26 #26AB7C #3A26AB #AB2654
split-complementary
#97AB26 #2654AB #7C26AB
monochromatic
#3F4710 #6B791B #97AB26 #BCD33B #CDDF6D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AB26#FFFFFF#000000##000000
##97AB261.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)
#B5A233
Tritanopia (blue-blind)
#A0A192
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #97ab26;
/* rgb */ color: rgb(151, 171, 38);
/* oklch */ color: oklch(70.2% 0.151 118.2);
Tailwind
colors: {
  custom: {
    50: '#b9c46c',
    500: '#97ab26',
    950: '#000000',
  },
}
SCSS
$custom: #97ab26;
$custom-light: #b9c46c;
$custom-dark: #000000;
JSON
{
  "hex": "#97ab26",
  "rgb": {
    "r": 151,
    "g": 171,
    "b": 38
  },
  "hsl": {
    "h": 69.023,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70224,
    "c": 0.15137,
    "h": 118.2
  },
  "luminance": 0.35845
}

Semantic roles & 50–950 ramp

primary
#97AB26
secondary
#7668C5
accent
#41E75A
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97AB26

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

Preview Lab → · Contrast checker → · Palette generator →

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