#97BA2C#97BA2C

#97BA2C is a light, vivid yellow-green. Relative luminance 0.419; OKLCH L 73.8% C 0.166 H 123.0°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#97BA2C
RGBrgb(151, 186, 44)
HSLhsl(75, 62%, 45%)
HSVhsv(75, 76%, 73%)
CMYKcmyk(18.8%, 0%, 76.3%, 27.1%)
CIE-LABlab(70.79, -30.74, 63.02)
CIE-LCHlch(70.79, 70.11, 116.00°)
OKLaboklab(73.77% -0.0901 0.139)
OKLCHoklch(73.77% 0.166 123)
XYZxyz(30.7764, 41.8788, 8.8444)
Luminance0.4188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97BA2C #4F2CBA
analogous
#BA962C #97BA2C #50BA2C
triadic
#97BA2C #2C97BA #BA2C97
tetradic
#97BA2C #2CBA96 #4F2CBA #BA2C50
square
#97BA2C #2CBA96 #4F2CBA #BA2C50
split-complementary
#97BA2C #2C50BA #962CBA
monochromatic
#475715 #6F8920 #97BA2C #B4D54E #C9E180

Accessibility & contrast

On white

2.24
#97BA2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#97BA2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97BA2C
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97BA2C#FFFFFF#000000##000000
##97BA2C1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE05
Deuteranopia (green-blind)
#C1AD3A
Tritanopia (blue-blind)
#9FB09F
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #97ba2c;
/* rgb */ color: rgb(151, 186, 44);
/* oklch */ color: oklch(73.8% 0.166 123.0);
Tailwind
colors: {
  custom: {
    50: '#b9ce71',
    500: '#97ba2c',
    950: '#000000',
  },
}
SCSS
$custom: #97ba2c;
$custom-light: #b9ce71;
$custom-dark: #000000;
JSON
{
  "hex": "#97ba2c",
  "rgb": {
    "r": 151,
    "g": 186,
    "b": 44
  },
  "hsl": {
    "h": 74.789,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73771,
    "c": 0.1657,
    "h": 123
  },
  "luminance": 0.41879
}

Semantic roles & 50–950 ramp

primary
#97BA2C
secondary
#8C78CA
accent
#43E56B
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97BA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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