#97B12A#97B12A

#97B12A is a light, vivid yellow-green. Relative luminance 0.382; OKLCH L 71.6% C 0.156 H 120.3°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#97B12A
RGBrgb(151, 177, 42)
HSLhsl(72, 62%, 43%)
HSVhsv(72, 76%, 69%)
CMYKcmyk(14.7%, 0%, 76.3%, 30.6%)
CIE-LABlab(68.16, -26.53, 61.20)
CIE-LCHlch(68.16, 66.71, 113.44°)
OKLaboklab(71.65% -0.0788 0.1349)
OKLCHoklch(71.65% 0.156 120.3)
XYZxyz(28.9031, 38.1909, 8.0390)
Luminance0.3819 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B12A #442AB1
analogous
#B1882A #97B12A #53B12A
triadic
#97B12A #2A97B1 #B12A97
tetradic
#97B12A #2AB188 #442AB1 #B12A53
square
#97B12A #2AB188 #442AB1 #B12A53
split-complementary
#97B12A #2A53B1 #882AB1
monochromatic
#434E13 #6D801E #97B12A #B8D345 #CBDF77

Accessibility & contrast

On white

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

On black

8.64
#97B12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B12A
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B12A#FFFFFF#000000##000000
##97B12A1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA607
Deuteranopia (green-blind)
#B9A637
Tritanopia (blue-blind)
#A0A798
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #97b12a;
/* rgb */ color: rgb(151, 177, 42);
/* oklch */ color: oklch(71.6% 0.156 120.3);
Tailwind
colors: {
  custom: {
    50: '#b9c86f',
    500: '#97b12a',
    950: '#000000',
  },
}
SCSS
$custom: #97b12a;
$custom-light: #b9c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#97b12a",
  "rgb": {
    "r": 151,
    "g": 177,
    "b": 42
  },
  "hsl": {
    "h": 71.556,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71648,
    "c": 0.15619,
    "h": 120.3
  },
  "luminance": 0.38191
}

Semantic roles & 50–950 ramp

primary
#97B12A
secondary
#8170C6
accent
#43E562
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97B12A

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

Preview Lab → · Contrast checker → · Palette generator →

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