#97B945#97B945

#97B945 is a light, vivid yellow-green. Relative luminance 0.417; OKLCH L 73.7% C 0.148 H 123.9°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#97B945
RGBrgb(151, 185, 69)
HSLhsl(78, 46%, 50%)
HSVhsv(78, 63%, 73%)
CMYKcmyk(18.4%, 0%, 62.7%, 27.5%)
CIE-LABlab(70.67, -28.71, 53.44)
CIE-LCHlch(70.67, 60.67, 118.25°)
OKLaboklab(73.73% -0.0824 0.1227)
OKLCHoklch(73.73% 0.148 123.9)
XYZxyz(31.1859, 41.7067, 12.0363)
Luminance0.4171 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B945 #6745B9
analogous
#B9A145 #97B945 #5DB945
triadic
#97B945 #4597B9 #B94597
tetradic
#97B945 #45B9A1 #6745B9 #B9455D
square
#97B945 #45B9A1 #6745B9 #B9455D
split-complementary
#97B945 #455DB9 #A145B9
monochromatic
#4E6024 #738C34 #97B945 #B0CA71 #C9DB9E

Accessibility & contrast

On white

2.25
#97B945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#97B945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B945
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B945#FFFFFF#000000##000000
##97B9451.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE37
Deuteranopia (green-blind)
#BEAD4D
Tritanopia (blue-blind)
#9EB0A1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #97b945;
/* rgb */ color: rgb(151, 185, 69);
/* oklch */ color: oklch(73.7% 0.148 123.9);
Tailwind
colors: {
  custom: {
    50: '#b8ce7e',
    500: '#97b945',
    950: '#000000',
  },
}
SCSS
$custom: #97b945;
$custom-light: #b8ce7e;
$custom-dark: #000000;
JSON
{
  "hex": "#97b945",
  "rgb": {
    "r": 151,
    "g": 185,
    "b": 69
  },
  "hsl": {
    "h": 77.586,
    "s": 45.669,
    "l": 49.804
  },
  "oklch": {
    "l": 0.7373,
    "c": 0.14774,
    "h": 123.9
  },
  "luminance": 0.41707
}

Semantic roles & 50–950 ramp

primary
#97B945
secondary
#A293C7
accent
#52D579
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #97B945

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

Preview Lab → · Contrast checker → · Palette generator →

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