#97B122#97B122

#97B122 is a light, vivid yellow-green. Relative luminance 0.381; OKLCH L 71.6% C 0.160 H 120.1°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#97B122
RGBrgb(151, 177, 34)
HSLhsl(71, 68%, 41%)
HSVhsv(71, 81%, 69%)
CMYKcmyk(14.7%, 0%, 80.8%, 30.6%)
CIE-LABlab(68.12, -26.87, 63.57)
CIE-LCHlch(68.12, 69.02, 112.91°)
OKLaboklab(71.6% -0.0803 0.1385)
OKLCHoklch(71.6% 0.16 120.1)
XYZxyz(28.7740, 38.1392, 7.3588)
Luminance0.3814 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B122 #3C22B1
analogous
#B18422 #97B122 #50B122
triadic
#97B122 #2297B1 #B12297
tetradic
#97B122 #22B184 #3C22B1 #B12250
square
#97B122 #22B184 #3C22B1 #B12250
split-complementary
#97B122 #2250B1 #8422B1
monochromatic
#3F4A0E #6B7E18 #97B122 #BBD938 #CDE36B

Accessibility & contrast

On white

2.43
#97B122 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#97B122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B122
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B122#FFFFFF#000000##000000
##97B1221.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA600
Deuteranopia (green-blind)
#BAA631
Tritanopia (blue-blind)
#A0A797
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #97b122;
/* rgb */ color: rgb(151, 177, 34);
/* oklch */ color: oklch(71.6% 0.160 120.1);
Tailwind
colors: {
  custom: {
    50: '#b9c86b',
    500: '#97b122',
    950: '#000000',
  },
}
SCSS
$custom: #97b122;
$custom-light: #b9c86b;
$custom-dark: #000000;
JSON
{
  "hex": "#97b122",
  "rgb": {
    "r": 151,
    "g": 177,
    "b": 34
  },
  "hsl": {
    "h": 70.909,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71605,
    "c": 0.16012,
    "h": 120.1
  },
  "luminance": 0.38139
}

Semantic roles & 50–950 ramp

primary
#97B122
secondary
#7866C9
accent
#3DEB5D
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #97B122

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

Preview Lab → · Contrast checker → · Palette generator →

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