#97AE28#97AE28

#97AE28 is a light, vivid yellow-green. Relative luminance 0.370; OKLCH L 70.9% C 0.154 H 119.3°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#97AE28
RGBrgb(151, 174, 40)
HSLhsl(70, 63%, 42%)
HSVhsv(70, 77%, 68%)
CMYKcmyk(13.2%, 0%, 77%, 31.8%)
CIE-LABlab(67.28, -25.16, 61.02)
CIE-LCHlch(67.28, 66.01, 112.41°)
OKLaboklab(70.94% -0.0751 0.1342)
OKLCHoklch(70.94% 0.154 119.3)
XYZxyz(28.2822, 37.0048, 7.6598)
Luminance0.3700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AE28 #3F28AE
analogous
#AE8228 #97AE28 #54AE28
triadic
#97AE28 #2897AE #AE2897
tetradic
#97AE28 #28AE82 #3F28AE #AE2854
square
#97AE28 #28AE82 #3F28AE #AE2854
split-complementary
#97AE28 #2854AE #8228AE
monochromatic
#414A11 #6C7C1D #97AE28 #BAD340 #CCDF72

Accessibility & contrast

On white

2.50
#97AE28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#97AE28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AE28
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AE28#FFFFFF#000000##000000
##97AE281.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA402
Deuteranopia (green-blind)
#B7A435
Tritanopia (blue-blind)
#A0A495
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #97ae28;
/* rgb */ color: rgb(151, 174, 40);
/* oklch */ color: oklch(70.9% 0.154 119.3);
Tailwind
colors: {
  custom: {
    50: '#b9c66d',
    500: '#97ae28',
    950: '#000000',
  },
}
SCSS
$custom: #97ae28;
$custom-light: #b9c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#97ae28",
  "rgb": {
    "r": 151,
    "g": 174,
    "b": 40
  },
  "hsl": {
    "h": 70.299,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70935,
    "c": 0.15377,
    "h": 119.3
  },
  "luminance": 0.37005
}

Semantic roles & 50–950 ramp

primary
#97AE28
secondary
#7C6CC6
accent
#42E65E
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #97AE28

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

Preview Lab → · Contrast checker → · Palette generator →

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