#97B238#97B238

#97B238 is a light, vivid yellow-green. Relative luminance 0.387; OKLCH L 72.0% C 0.149 H 121.1°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#97B238
RGBrgb(151, 178, 56)
HSLhsl(73, 52%, 46%)
HSVhsv(73, 69%, 70%)
CMYKcmyk(15.2%, 0%, 68.5%, 30.2%)
CIE-LABlab(68.54, -26.25, 56.54)
CIE-LCHlch(68.54, 62.34, 114.90°)
OKLaboklab(71.98% -0.0767 0.1274)
OKLCHoklch(71.98% 0.149 121.1)
XYZxyz(29.3971, 38.7057, 9.6629)
Luminance0.3871 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B238 #5338B2
analogous
#B29038 #97B238 #5AB238
triadic
#97B238 #3897B2 #B23897
tetradic
#97B238 #38B290 #5338B2 #B2385A
square
#97B238 #38B290 #5338B2 #B2385A
split-complementary
#97B238 #385AB2 #9038B2
monochromatic
#48551B #708329 #97B238 #B3CC5C #C9DA8A

Accessibility & contrast

On white

2.40
#97B238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#97B238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B238
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B238#FFFFFF#000000##000000
##97B2381.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA826
Deuteranopia (green-blind)
#B9A742
Tritanopia (blue-blind)
#9FA99A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #97b238;
/* rgb */ color: rgb(151, 178, 56);
/* oklch */ color: oklch(72.0% 0.149 121.1);
Tailwind
colors: {
  custom: {
    50: '#b9c976',
    500: '#97b238',
    950: '#000000',
  },
}
SCSS
$custom: #97b238;
$custom-light: #b9c976;
$custom-dark: #000000;
JSON
{
  "hex": "#97b238",
  "rgb": {
    "r": 151,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 73.279,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71979,
    "c": 0.14871,
    "h": 121.1
  },
  "luminance": 0.38706
}

Semantic roles & 50–950 ramp

primary
#97B238
secondary
#9081C5
accent
#4CDC6C
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #97B238

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

Preview Lab → · Contrast checker → · Palette generator →

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