#97BA2D#97BA2D

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

Color values

HEX#97BA2D
RGBrgb(151, 186, 45)
HSLhsl(75, 61%, 45%)
HSVhsv(75, 76%, 73%)
CMYKcmyk(18.8%, 0%, 75.8%, 27.1%)
CIE-LABlab(70.79, -30.69, 62.70)
CIE-LCHlch(70.79, 69.81, 116.08°)
OKLaboklab(73.78% -0.0899 0.1385)
OKLCHoklch(73.78% 0.165 123)
XYZxyz(30.7955, 41.8864, 8.9446)
Luminance0.4189 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97BA2D #502DBA
analogous
#BA972D #97BA2D #50BA2D
triadic
#97BA2D #2D97BA #BA2D97
tetradic
#97BA2D #2DBA97 #502DBA #BA2D50
square
#97BA2D #2DBA97 #502DBA #BA2D50
split-complementary
#97BA2D #2D50BA #972DBA
monochromatic
#475715 #6F8921 #97BA2D #B4D550 #C9E081

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97BA2D#FFFFFF#000000##000000
##97BA2D1.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)
#C5AE09
Deuteranopia (green-blind)
#C1AD3A
Tritanopia (blue-blind)
#9FB09F
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #97ba2d;
/* rgb */ color: rgb(151, 186, 45);
/* oklch */ color: oklch(73.8% 0.165 123.0);
Tailwind
colors: {
  custom: {
    50: '#b9ce71',
    500: '#97ba2d',
    950: '#000000',
  },
}
SCSS
$custom: #97ba2d;
$custom-light: #b9ce71;
$custom-dark: #000000;
JSON
{
  "hex": "#97ba2d",
  "rgb": {
    "r": 151,
    "g": 186,
    "b": 45
  },
  "hsl": {
    "h": 74.894,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.73777,
    "c": 0.16517,
    "h": 123
  },
  "luminance": 0.41887
}

Semantic roles & 50–950 ramp

primary
#97BA2D
secondary
#8D79C9
accent
#44E46B
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97BA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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