#97C231#97C231

#97C231 is a light, vivid yellow-green. Relative luminance 0.454; OKLCH L 75.7% C 0.173 H 125.1°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#97C231
RGBrgb(151, 194, 49)
HSLhsl(78, 60%, 48%)
HSVhsv(78, 75%, 76%)
CMYKcmyk(22.2%, 0%, 74.7%, 23.9%)
CIE-LABlab(73.14, -34.21, 63.62)
CIE-LCHlch(73.14, 72.24, 118.27°)
OKLaboklab(75.69% -0.0992 0.1411)
OKLCHoklch(75.69% 0.173 125.1)
XYZxyz(32.6089, 45.3842, 9.9472)
Luminance0.4538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97C231 #5C31C2
analogous
#C2A431 #97C231 #4EC231
triadic
#97C231 #3197C2 #C23197
tetradic
#97C231 #31C2A4 #5C31C2 #C2314E
square
#97C231 #31C2A4 #5C31C2 #C2314E
split-complementary
#97C231 #314EC2 #A431C2
monochromatic
#4B6018 #719125 #97C231 #B1D65B #C8E28C

Accessibility & contrast

On white

2.08
#97C231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#97C231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97C231
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97C231#FFFFFF#000000##000000
##97C2311.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB510
Deuteranopia (green-blind)
#C7B33F
Tritanopia (blue-blind)
#9EB9A6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #97c231;
/* rgb */ color: rgb(151, 194, 49);
/* oklch */ color: oklch(75.7% 0.173 125.1);
Tailwind
colors: {
  custom: {
    50: '#b9d474',
    500: '#97c231',
    950: '#000000',
  },
}
SCSS
$custom: #97c231;
$custom-light: #b9d474;
$custom-dark: #000000;
JSON
{
  "hex": "#97c231",
  "rgb": {
    "r": 151,
    "g": 194,
    "b": 49
  },
  "hsl": {
    "h": 77.793,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.75687,
    "c": 0.17253,
    "h": 125.1
  },
  "luminance": 0.45385
}

Semantic roles & 50–950 ramp

primary
#97C231
secondary
#9983CC
accent
#45E374
background
#FBFDF7
surface
#F7FAED
border
#D0D3C8
text
#121409
muted
#81837B

Preview Lab

Preview with #97C231

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

Preview Lab → · Contrast checker → · Palette generator →

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