#97BA3B#97BA3B

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

Color values

HEX#97BA3B
RGBrgb(151, 186, 59)
HSLhsl(77, 52%, 48%)
HSVhsv(77, 68%, 73%)
CMYKcmyk(18.8%, 0%, 68.3%, 27.1%)
CIE-LABlab(70.88, -29.90, 57.77)
CIE-LCHlch(70.88, 65.04, 117.36°)
OKLaboklab(73.88% -0.0865 0.1304)
OKLCHoklch(73.88% 0.157 123.6)
XYZxyz(31.1111, 42.0127, 10.6071)
Luminance0.4201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97BA3B #5E3BBA
analogous
#BA9D3B #97BA3B #58BA3B
triadic
#97BA3B #3B97BA #BA3B97
tetradic
#97BA3B #3BBA9D #5E3BBA #BA3B58
square
#97BA3B #3BBA9D #5E3BBA #BA3B58
split-complementary
#97BA3B #3B58BA #9D3BBA
monochromatic
#4C5D1E #718C2C #97BA3B #B1CE64 #C8DD93

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97BA3B#FFFFFF#000000##000000
##97BA3B1.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)
#C4AE28
Deuteranopia (green-blind)
#C0AD45
Tritanopia (blue-blind)
#9EB1A1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #97ba3b;
/* rgb */ color: rgb(151, 186, 59);
/* oklch */ color: oklch(73.9% 0.157 123.6);
Tailwind
colors: {
  custom: {
    50: '#b9ce78',
    500: '#97ba3b',
    950: '#000000',
  },
}
SCSS
$custom: #97ba3b;
$custom-light: #b9ce78;
$custom-dark: #000000;
JSON
{
  "hex": "#97ba3b",
  "rgb": {
    "r": 151,
    "g": 186,
    "b": 59
  },
  "hsl": {
    "h": 76.535,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73876,
    "c": 0.1565,
    "h": 123.6
  },
  "luminance": 0.42013
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #97BA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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