#97AD26#97AD26

#97AD26 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.7% C 0.154 H 118.9°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#97AD26
RGBrgb(151, 173, 38)
HSLhsl(70, 64%, 41%)
HSVhsv(70, 78%, 68%)
CMYKcmyk(12.7%, 0%, 78%, 32.2%)
CIE-LABlab(66.98, -24.76, 61.37)
CIE-LCHlch(66.98, 66.18, 111.97°)
OKLaboklab(70.69% -0.0742 0.1346)
OKLCHoklch(70.69% 0.154 118.9)
XYZxyz(28.0565, 36.6066, 7.4211)
Luminance0.3661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AD26 #3C26AD
analogous
#AD8026 #97AD26 #54AD26
triadic
#97AD26 #2697AD #AD2697
tetradic
#97AD26 #26AD80 #3C26AD #AD2654
square
#97AD26 #26AD80 #3C26AD #AD2654
split-complementary
#97AD26 #2654AD #8026AD
monochromatic
#3F4910 #6B7B1B #97AD26 #BBD43C #CDDF6E

Accessibility & contrast

On white

2.52
#97AD26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#97AD26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AD26
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AD26#FFFFFF#000000##000000
##97AD261.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B6A333
Tritanopia (blue-blind)
#A0A394
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #97ad26;
/* rgb */ color: rgb(151, 173, 38);
/* oklch */ color: oklch(70.7% 0.154 118.9);
Tailwind
colors: {
  custom: {
    50: '#b9c56c',
    500: '#97ad26',
    950: '#000000',
  },
}
SCSS
$custom: #97ad26;
$custom-light: #b9c56c;
$custom-dark: #000000;
JSON
{
  "hex": "#97ad26",
  "rgb": {
    "r": 151,
    "g": 173,
    "b": 38
  },
  "hsl": {
    "h": 69.778,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.7069,
    "c": 0.15365,
    "h": 118.9
  },
  "luminance": 0.36606
}

Semantic roles & 50–950 ramp

primary
#97AD26
secondary
#7869C6
accent
#41E75C
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97AD26

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

Preview Lab → · Contrast checker → · Palette generator →

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