#97AE22#97AE22

#97AE22 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 70.9% C 0.157 H 119.1°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#97AE22
RGBrgb(151, 174, 34)
HSLhsl(70, 67%, 41%)
HSVhsv(70, 80%, 68%)
CMYKcmyk(13.2%, 0%, 80.5%, 31.8%)
CIE-LABlab(67.25, -25.41, 62.80)
CIE-LCHlch(67.25, 67.75, 112.03°)
OKLaboklab(70.9% -0.0763 0.1369)
OKLCHoklch(70.9% 0.157 119.1)
XYZxyz(28.1879, 36.9671, 7.1635)
Luminance0.3697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AE22 #3922AE
analogous
#AE7F22 #97AE22 #51AE22
triadic
#97AE22 #2297AE #AE2297
tetradic
#97AE22 #22AE7F #3922AE #AE2251
square
#97AE22 #22AE7F #3922AE #AE2251
split-complementary
#97AE22 #2251AE #7F22AE
monochromatic
#3E480E #6B7B18 #97AE22 #BDD836 #CEE269

Accessibility & contrast

On white

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

On black

8.39
#97AE22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AE22
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AE22#FFFFFF#000000##000000
##97AE221.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97ae22;
/* rgb */ color: rgb(151, 174, 34);
/* oklch */ color: oklch(70.9% 0.157 119.1);
Tailwind
colors: {
  custom: {
    50: '#b9c66b',
    500: '#97ae22',
    950: '#000000',
  },
}
SCSS
$custom: #97ae22;
$custom-light: #b9c66b;
$custom-dark: #000000;
JSON
{
  "hex": "#97ae22",
  "rgb": {
    "r": 151,
    "g": 174,
    "b": 34
  },
  "hsl": {
    "h": 69.857,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70903,
    "c": 0.15671,
    "h": 119.1
  },
  "luminance": 0.36967
}

Semantic roles & 50–950 ramp

primary
#97AE22
secondary
#7564C7
accent
#3EEA5A
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #97AE22

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

Preview Lab → · Contrast checker → · Palette generator →

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