#97B235#97B235

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

Color values

HEX#97B235
RGBrgb(151, 178, 53)
HSLhsl(73, 54%, 45%)
HSVhsv(73, 70%, 70%)
CMYKcmyk(15.2%, 0%, 70.2%, 30.2%)
CIE-LABlab(68.52, -26.43, 57.68)
CIE-LCHlch(68.52, 63.45, 114.62°)
OKLaboklab(71.96% -0.0775 0.1293)
OKLCHoklch(71.96% 0.151 121)
XYZxyz(29.3260, 38.6772, 9.2880)
Luminance0.3868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B235 #5035B2
analogous
#B28E35 #97B235 #58B235
triadic
#97B235 #3597B2 #B23597
tetradic
#97B235 #35B28E #5035B2 #B23558
square
#97B235 #35B28E #5035B2 #B23558
split-complementary
#97B235 #3558B2 #8E35B2
monochromatic
#475419 #6F8327 #97B235 #B4CD57 #C9DB86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97B235#FFFFFF#000000##000000
##97B2351.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)
#BDA821
Deuteranopia (green-blind)
#BAA73F
Tritanopia (blue-blind)
#9FA999
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #97b235;
/* rgb */ color: rgb(151, 178, 53);
/* oklch */ color: oklch(72.0% 0.151 121.0);
Tailwind
colors: {
  custom: {
    50: '#b9c974',
    500: '#97b235',
    950: '#000000',
  },
}
SCSS
$custom: #97b235;
$custom-light: #b9c974;
$custom-dark: #000000;
JSON
{
  "hex": "#97b235",
  "rgb": {
    "r": 151,
    "g": 178,
    "b": 53
  },
  "hsl": {
    "h": 72.96,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.71956,
    "c": 0.15075,
    "h": 121
  },
  "luminance": 0.38677
}

Semantic roles & 50–950 ramp

primary
#97B235
secondary
#8D7EC5
accent
#4ADD6A
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #97B235

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

Preview Lab → · Contrast checker → · Palette generator →

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