#97AD28#97AD28

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

Color values

HEX#97AD28
RGBrgb(151, 173, 40)
HSLhsl(70, 62%, 42%)
HSVhsv(70, 77%, 68%)
CMYKcmyk(12.7%, 0%, 76.9%, 32.2%)
CIE-LABlab(66.99, -24.67, 60.76)
CIE-LCHlch(66.99, 65.57, 112.10°)
OKLaboklab(70.7% -0.0738 0.1336)
OKLCHoklch(70.7% 0.153 118.9)
XYZxyz(28.0897, 36.6199, 7.5956)
Luminance0.3662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AD28 #3E28AD
analogous
#AD8128 #97AD28 #55AD28
triadic
#97AD28 #2897AD #AD2897
tetradic
#97AD28 #28AD81 #3E28AD #AD2855
square
#97AD28 #28AD81 #3E28AD #AD2855
split-complementary
#97AD28 #2855AD #8128AD
monochromatic
#404A11 #6C7B1D #97AD28 #BAD33F #CCDE71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AD28#FFFFFF#000000##000000
##97AD281.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)
#B9A303
Deuteranopia (green-blind)
#B6A334
Tritanopia (blue-blind)
#A0A394
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #97ad28;
/* rgb */ color: rgb(151, 173, 40);
/* oklch */ color: oklch(70.7% 0.153 118.9);
Tailwind
colors: {
  custom: {
    50: '#b9c56d',
    500: '#97ad28',
    950: '#000000',
  },
}
SCSS
$custom: #97ad28;
$custom-light: #b9c56d;
$custom-dark: #000000;
JSON
{
  "hex": "#97ad28",
  "rgb": {
    "r": 151,
    "g": 173,
    "b": 40
  },
  "hsl": {
    "h": 69.925,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70702,
    "c": 0.15262,
    "h": 118.9
  },
  "luminance": 0.3662
}

Semantic roles & 50–950 ramp

primary
#97AD28
secondary
#7A6CC5
accent
#42E65D
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #97AD28

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

Preview Lab → · Contrast checker → · Palette generator →

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