#97B338#97B338

#97B338 is a light, vivid yellow-green. Relative luminance 0.391; OKLCH L 72.2% C 0.150 H 121.4°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#97B338
RGBrgb(151, 179, 56)
HSLhsl(74, 52%, 46%)
HSVhsv(74, 69%, 70%)
CMYKcmyk(15.6%, 0%, 68.7%, 29.8%)
CIE-LABlab(68.83, -26.73, 56.84)
CIE-LCHlch(68.83, 62.81, 115.19°)
OKLaboklab(72.21% -0.0781 0.128)
OKLCHoklch(72.21% 0.15 121.4)
XYZxyz(29.5968, 39.1050, 9.7294)
Luminance0.3911 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B338 #5438B3
analogous
#B39138 #97B338 #59B338
triadic
#97B338 #3897B3 #B33897
tetradic
#97B338 #38B391 #5438B3 #B33859
square
#97B338 #38B391 #5438B3 #B33859
split-complementary
#97B338 #3859B3 #9138B3
monochromatic
#48561B #708429 #97B338 #B3CC5C #C8DB8B

Accessibility & contrast

On white

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

On black

8.82
#97B338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B338
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B338#FFFFFF#000000##000000
##97B3381.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97b338;
/* rgb */ color: rgb(151, 179, 56);
/* oklch */ color: oklch(72.2% 0.150 121.4);
Tailwind
colors: {
  custom: {
    50: '#b9c976',
    500: '#97b338',
    950: '#000000',
  },
}
SCSS
$custom: #97b338;
$custom-light: #b9c976;
$custom-dark: #000000;
JSON
{
  "hex": "#97b338",
  "rgb": {
    "r": 151,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 73.659,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72213,
    "c": 0.14993,
    "h": 121.4
  },
  "luminance": 0.39105
}

Semantic roles & 50–950 ramp

primary
#97B338
secondary
#9182C5
accent
#4CDC6D
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #97B338

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

Preview Lab → · Contrast checker → · Palette generator →

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