#97AB29#97AB29

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

Color values

HEX#97AB29
RGBrgb(151, 171, 41)
HSLhsl(69, 61%, 42%)
HSVhsv(69, 76%, 67%)
CMYKcmyk(11.7%, 0%, 76%, 32.9%)
CIE-LABlab(66.42, -23.64, 59.90)
CIE-LCHlch(66.42, 64.39, 111.54°)
OKLaboklab(70.24% -0.0709 0.132)
OKLCHoklch(70.24% 0.15 118.2)
XYZxyz(27.7263, 35.8655, 7.5595)
Luminance0.3587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AB29 #3D29AB
analogous
#AB7E29 #97AB29 #56AB29
triadic
#97AB29 #2997AB #AB2997
tetradic
#97AB29 #29AB7E #3D29AB #AB2956
square
#97AB29 #29AB7E #3D29AB #AB2956
split-complementary
#97AB29 #2956AB #7E29AB
monochromatic
#404811 #6B7A1D #97AB29 #BBD140 #CCDD71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AB29#FFFFFF#000000##000000
##97AB291.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)
#B7A108
Deuteranopia (green-blind)
#B4A235
Tritanopia (blue-blind)
#A0A193
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #97ab29;
/* rgb */ color: rgb(151, 171, 41);
/* oklch */ color: oklch(70.2% 0.150 118.2);
Tailwind
colors: {
  custom: {
    50: '#b9c46d',
    500: '#97ab29',
    950: '#000000',
  },
}
SCSS
$custom: #97ab29;
$custom-light: #b9c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#97ab29",
  "rgb": {
    "r": 151,
    "g": 171,
    "b": 41
  },
  "hsl": {
    "h": 69.231,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70241,
    "c": 0.14978,
    "h": 118.2
  },
  "luminance": 0.35865
}

Semantic roles & 50–950 ramp

primary
#97AB29
secondary
#796CC4
accent
#43E45C
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #97AB29

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

Preview Lab → · Contrast checker → · Palette generator →

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