#97AF30#97AF30

#97AF30 is a light, vivid yellow-green. Relative luminance 0.375; OKLCH L 71.2% C 0.150 H 119.8°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#97AF30
RGBrgb(151, 175, 48)
HSLhsl(71, 57%, 44%)
HSVhsv(71, 73%, 69%)
CMYKcmyk(13.7%, 0%, 72.6%, 31.4%)
CIE-LABlab(67.62, -25.26, 58.63)
CIE-LCHlch(67.62, 63.84, 113.30°)
OKLaboklab(71.22% -0.0747 0.1305)
OKLCHoklch(71.22% 0.15 119.8)
XYZxyz(28.6265, 37.4528, 8.5168)
Luminance0.3745 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF30 #4830AF
analogous
#AF8730 #97AF30 #57AF30
triadic
#97AF30 #3097AF #AF3097
tetradic
#97AF30 #30AF87 #4830AF #AF3057
square
#97AF30 #30AF87 #4830AF #AF3057
split-complementary
#97AF30 #3057AF #8730AF
monochromatic
#444F16 #6E7F23 #97AF30 #B6CE4E #CADC7E

Accessibility & contrast

On white

2.47
#97AF30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#97AF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AF30
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AF30#FFFFFF#000000##000000
##97AF301.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA518
Deuteranopia (green-blind)
#B7A53B
Tritanopia (blue-blind)
#A0A696
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #97af30;
/* rgb */ color: rgb(151, 175, 48);
/* oklch */ color: oklch(71.2% 0.150 119.8);
Tailwind
colors: {
  custom: {
    50: '#b9c671',
    500: '#97af30',
    950: '#000000',
  },
}
SCSS
$custom: #97af30;
$custom-light: #b9c671;
$custom-dark: #000000;
JSON
{
  "hex": "#97af30",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 71.339,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71219,
    "c": 0.15036,
    "h": 119.8
  },
  "luminance": 0.37453
}

Semantic roles & 50–950 ramp

primary
#97AF30
secondary
#8576C4
accent
#48E064
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97AF30

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

Preview Lab → · Contrast checker → · Palette generator →

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