#97B138#97B138

#97B138 is a light, vivid yellow-green. Relative luminance 0.383; OKLCH L 71.7% C 0.147 H 120.7°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#97B138
RGBrgb(151, 177, 56)
HSLhsl(73, 52%, 46%)
HSVhsv(73, 68%, 69%)
CMYKcmyk(14.7%, 0%, 68.4%, 30.6%)
CIE-LABlab(68.25, -25.76, 56.25)
CIE-LCHlch(68.25, 61.87, 114.61°)
OKLaboklab(71.75% -0.0754 0.1268)
OKLCHoklch(71.75% 0.147 120.7)
XYZxyz(29.1989, 38.3092, 9.5968)
Luminance0.3831 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B138 #5238B1
analogous
#B18E38 #97B138 #5AB138
triadic
#97B138 #3897B1 #B13897
tetradic
#97B138 #38B18E #5238B1 #B1385A
square
#97B138 #38B18E #5238B1 #B1385A
split-complementary
#97B138 #385AB1 #8E38B1
monochromatic
#48541B #6F8329 #97B138 #B3CB5B #C9DA8A

Accessibility & contrast

On white

2.42
#97B138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#97B138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B138
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B138#FFFFFF#000000##000000
##97B1381.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA726
Deuteranopia (green-blind)
#B9A741
Tritanopia (blue-blind)
#9FA899
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #97b138;
/* rgb */ color: rgb(151, 177, 56);
/* oklch */ color: oklch(71.7% 0.147 120.7);
Tailwind
colors: {
  custom: {
    50: '#b9c876',
    500: '#97b138',
    950: '#000000',
  },
}
SCSS
$custom: #97b138;
$custom-light: #b9c876;
$custom-dark: #000000;
JSON
{
  "hex": "#97b138",
  "rgb": {
    "r": 151,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 72.893,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71746,
    "c": 0.14748,
    "h": 120.7
  },
  "luminance": 0.38309
}

Semantic roles & 50–950 ramp

primary
#97B138
secondary
#8F81C4
accent
#4CDB6B
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #97B138

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

Preview Lab → · Contrast checker → · Palette generator →

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