#97BA2F#97BA2F

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

Color values

HEX#97BA2F
RGBrgb(151, 186, 47)
HSLhsl(75, 60%, 46%)
HSVhsv(75, 75%, 73%)
CMYKcmyk(18.8%, 0%, 74.7%, 27.1%)
CIE-LABlab(70.80, -30.59, 62.05)
CIE-LCHlch(70.80, 69.18, 116.24°)
OKLaboklab(73.79% -0.0895 0.1375)
OKLCHoklch(73.79% 0.164 123.1)
XYZxyz(30.8349, 41.9022, 9.1522)
Luminance0.4190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97BA2F #522FBA
analogous
#BA972F #97BA2F #51BA2F
triadic
#97BA2F #2F97BA #BA2F97
tetradic
#97BA2F #2FBA97 #522FBA #BA2F51
square
#97BA2F #2FBA97 #522FBA #BA2F51
split-complementary
#97BA2F #2F51BA #972FBA
monochromatic
#485816 #6F8923 #97BA2F #B3D353 #C9E084

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97BA2F#FFFFFF#000000##000000
##97BA2F1.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)
#C5AE10
Deuteranopia (green-blind)
#C0AD3C
Tritanopia (blue-blind)
#9FB1A0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #97ba2f;
/* rgb */ color: rgb(151, 186, 47);
/* oklch */ color: oklch(73.8% 0.164 123.1);
Tailwind
colors: {
  custom: {
    50: '#b9ce72',
    500: '#97ba2f',
    950: '#000000',
  },
}
SCSS
$custom: #97ba2f;
$custom-light: #b9ce72;
$custom-dark: #000000;
JSON
{
  "hex": "#97ba2f",
  "rgb": {
    "r": 151,
    "g": 186,
    "b": 47
  },
  "hsl": {
    "h": 75.108,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7379,
    "c": 0.16406,
    "h": 123.1
  },
  "luminance": 0.41902
}

Semantic roles & 50–950 ramp

primary
#97BA2F
secondary
#8F7CC9
accent
#45E36D
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97BA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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