#97AC28#97AC28

#97AC28 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.5% C 0.151 H 118.6°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#97AC28
RGBrgb(151, 172, 40)
HSLhsl(70, 62%, 42%)
HSVhsv(70, 77%, 67%)
CMYKcmyk(12.2%, 0%, 76.7%, 32.5%)
CIE-LABlab(66.70, -24.18, 60.49)
CIE-LCHlch(66.70, 65.14, 111.79°)
OKLaboklab(70.47% -0.0724 0.133)
OKLCHoklch(70.47% 0.151 118.6)
XYZxyz(27.8987, 36.2378, 7.5320)
Luminance0.3624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AC28 #3D28AC
analogous
#AC7F28 #97AC28 #55AC28
triadic
#97AC28 #2897AC #AC2897
tetradic
#97AC28 #28AC7F #3D28AC #AC2855
square
#97AC28 #28AC7F #3D28AC #AC2855
split-complementary
#97AC28 #2855AC #7F28AC
monochromatic
#404911 #6B7A1C #97AC28 #BBD23F #CCDE71

Accessibility & contrast

On white

2.55
#97AC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#97AC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AC28
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AC28#FFFFFF#000000##000000
##97AC281.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A204
Deuteranopia (green-blind)
#B5A334
Tritanopia (blue-blind)
#A0A293
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #97ac28;
/* rgb */ color: rgb(151, 172, 40);
/* oklch */ color: oklch(70.5% 0.151 118.6);
Tailwind
colors: {
  custom: {
    50: '#b9c46d',
    500: '#97ac28',
    950: '#000000',
  },
}
SCSS
$custom: #97ac28;
$custom-light: #b9c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#97ac28",
  "rgb": {
    "r": 151,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 69.545,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70468,
    "c": 0.15147,
    "h": 118.6
  },
  "luminance": 0.36238
}

Semantic roles & 50–950 ramp

primary
#97AC28
secondary
#796BC5
accent
#42E55C
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #97AC28

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

Preview Lab → · Contrast checker → · Palette generator →

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