#97BA2E#97BA2E

#97BA2E 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#97BA2E
RGBrgb(151, 186, 46)
HSLhsl(75, 60%, 45%)
HSVhsv(75, 75%, 73%)
CMYKcmyk(18.8%, 0%, 75.3%, 27.1%)
CIE-LABlab(70.80, -30.64, 62.38)
CIE-LCHlch(70.80, 69.50, 116.16°)
OKLaboklab(73.78% -0.0897 0.138)
OKLCHoklch(73.78% 0.165 123)
XYZxyz(30.8149, 41.8942, 9.0472)
Luminance0.4189 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97BA2E #512EBA
analogous
#BA972E #97BA2E #51BA2E
triadic
#97BA2E #2E97BA #BA2E97
tetradic
#97BA2E #2EBA97 #512EBA #BA2E51
square
#97BA2E #2EBA97 #512EBA #BA2E51
split-complementary
#97BA2E #2E51BA #972EBA
monochromatic
#475816 #6F8922 #97BA2E #B3D451 #C9E082

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97BA2E#FFFFFF#000000##000000
##97BA2E1.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)
#C5AE0D
Deuteranopia (green-blind)
#C0AD3B
Tritanopia (blue-blind)
#9FB0A0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #97ba2e;
/* rgb */ color: rgb(151, 186, 46);
/* oklch */ color: oklch(73.8% 0.165 123.0);
Tailwind
colors: {
  custom: {
    50: '#b9ce71',
    500: '#97ba2e',
    950: '#000000',
  },
}
SCSS
$custom: #97ba2e;
$custom-light: #b9ce71;
$custom-dark: #000000;
JSON
{
  "hex": "#97ba2e",
  "rgb": {
    "r": 151,
    "g": 186,
    "b": 46
  },
  "hsl": {
    "h": 75,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73783,
    "c": 0.16461,
    "h": 123
  },
  "luminance": 0.41894
}

Semantic roles & 50–950 ramp

primary
#97BA2E
secondary
#8E7BC9
accent
#44E36C
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97BA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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