#97BA3C#97BA3C

#97BA3C is a light, vivid yellow-green. Relative luminance 0.420; OKLCH L 73.9% C 0.156 H 123.6°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#97BA3C
RGBrgb(151, 186, 60)
HSLhsl(77, 51%, 48%)
HSVhsv(77, 68%, 73%)
CMYKcmyk(18.8%, 0%, 67.7%, 27.1%)
CIE-LABlab(70.89, -29.83, 57.38)
CIE-LCHlch(70.89, 64.67, 117.47°)
OKLaboklab(73.88% -0.0863 0.1297)
OKLCHoklch(73.88% 0.156 123.6)
XYZxyz(31.1373, 42.0232, 10.7450)
Luminance0.4202 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97BA3C #5F3CBA
analogous
#BA9E3C #97BA3C #58BA3C
triadic
#97BA3C #3C97BA #BA3C97
tetradic
#97BA3C #3CBA9E #5F3CBA #BA3C58
square
#97BA3C #3CBA9E #5F3CBA #BA3C58
split-complementary
#97BA3C #3C58BA #9E3CBA
monochromatic
#4C5D1E #718C2D #97BA3C #B1CE66 #C8DC94

Accessibility & contrast

On white

2.23
#97BA3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#97BA3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97BA3C
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97BA3C#FFFFFF#000000##000000
##97BA3C1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF2A
Deuteranopia (green-blind)
#C0AD46
Tritanopia (blue-blind)
#9EB1A1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #97ba3c;
/* rgb */ color: rgb(151, 186, 60);
/* oklch */ color: oklch(73.9% 0.156 123.6);
Tailwind
colors: {
  custom: {
    50: '#b9ce79',
    500: '#97ba3c',
    950: '#000000',
  },
}
SCSS
$custom: #97ba3c;
$custom-light: #b9ce79;
$custom-dark: #000000;
JSON
{
  "hex": "#97ba3c",
  "rgb": {
    "r": 151,
    "g": 186,
    "b": 60
  },
  "hsl": {
    "h": 76.667,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.73884,
    "c": 0.1558,
    "h": 123.6
  },
  "luminance": 0.42023
}

Semantic roles & 50–950 ramp

primary
#97BA3C
secondary
#9B8AC8
accent
#4DDB74
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#121309
muted
#81827B

Preview Lab

Preview with #97BA3C

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

Preview Lab → · Contrast checker → · Palette generator →

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