#97BA31#97BA31

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

Color values

HEX#97BA31
RGBrgb(151, 186, 49)
HSLhsl(75, 58%, 46%)
HSVhsv(75, 74%, 73%)
CMYKcmyk(18.8%, 0%, 73.7%, 27.1%)
CIE-LABlab(70.81, -30.49, 61.38)
CIE-LCHlch(70.81, 68.54, 116.41°)
OKLaboklab(73.8% -0.089 0.1364)
OKLCHoklch(73.8% 0.163 123.1)
XYZxyz(30.8762, 41.9187, 9.3696)
Luminance0.4192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97BA31 #5431BA
analogous
#BA9831 #97BA31 #53BA31
triadic
#97BA31 #3197BA #BA3197
tetradic
#97BA31 #31BA98 #5431BA #BA3153
square
#97BA31 #31BA98 #5431BA #BA3153
split-complementary
#97BA31 #3153BA #9831BA
monochromatic
#485917 #708A24 #97BA31 #B3D256 #C8DF86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97BA31#FFFFFF#000000##000000
##97BA311.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)
#C5AE15
Deuteranopia (green-blind)
#C0AD3D
Tritanopia (blue-blind)
#9FB1A0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #97ba31;
/* rgb */ color: rgb(151, 186, 49);
/* oklch */ color: oklch(73.8% 0.163 123.1);
Tailwind
colors: {
  custom: {
    50: '#b9ce73',
    500: '#97ba31',
    950: '#000000',
  },
}
SCSS
$custom: #97ba31;
$custom-light: #b9ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#97ba31",
  "rgb": {
    "r": 151,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 75.328,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73802,
    "c": 0.16291,
    "h": 123.1
  },
  "luminance": 0.41919
}

Semantic roles & 50–950 ramp

primary
#97BA31
secondary
#917EC9
accent
#46E26E
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121309
muted
#81827B

Preview Lab

Preview with #97BA31

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

Preview Lab → · Contrast checker → · Palette generator →

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