#97B331#97B331

#97B331 is a light, vivid yellow-green. Relative luminance 0.390; OKLCH L 72.2% C 0.155 H 121.1°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#97B331
RGBrgb(151, 179, 49)
HSLhsl(73, 57%, 45%)
HSVhsv(73, 73%, 70%)
CMYKcmyk(15.6%, 0%, 72.6%, 29.8%)
CIE-LABlab(68.78, -27.14, 59.41)
CIE-LCHlch(68.78, 65.32, 114.56°)
OKLaboklab(72.16% -0.0799 0.1323)
OKLCHoklch(72.16% 0.155 121.1)
XYZxyz(29.4375, 39.0413, 8.8900)
Luminance0.3904 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B331 #4D31B3
analogous
#B38E31 #97B331 #56B331
triadic
#97B331 #3197B3 #B33197
tetradic
#97B331 #31B38E #4D31B3 #B33156
square
#97B331 #31B38E #4D31B3 #B33156
split-complementary
#97B331 #3156B3 #8E31B3
monochromatic
#465317 #6E8324 #97B331 #B4D052 #C9DD82

Accessibility & contrast

On white

2.38
#97B331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#97B331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B331
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B331#FFFFFF#000000##000000
##97B3311.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA818
Deuteranopia (green-blind)
#BBA83C
Tritanopia (blue-blind)
#9FAA9A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #97b331;
/* rgb */ color: rgb(151, 179, 49);
/* oklch */ color: oklch(72.2% 0.155 121.1);
Tailwind
colors: {
  custom: {
    50: '#b9c972',
    500: '#97b331',
    950: '#000000',
  },
}
SCSS
$custom: #97b331;
$custom-light: #b9c972;
$custom-dark: #000000;
JSON
{
  "hex": "#97b331",
  "rgb": {
    "r": 151,
    "g": 179,
    "b": 49
  },
  "hsl": {
    "h": 72.923,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72161,
    "c": 0.15451,
    "h": 121.1
  },
  "luminance": 0.39041
}

Semantic roles & 50–950 ramp

primary
#97B331
secondary
#8A7AC6
accent
#48E068
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97B331

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

Preview Lab → · Contrast checker → · Palette generator →

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