#97BA27#97BA27

#97BA27 is a light, vivid yellow-green. Relative luminance 0.418; OKLCH L 73.7% C 0.168 H 122.8°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#97BA27
RGBrgb(151, 186, 39)
HSLhsl(74, 65%, 44%)
HSVhsv(74, 79%, 73%)
CMYKcmyk(18.8%, 0%, 79%, 27.1%)
CIE-LABlab(70.76, -30.96, 64.52)
CIE-LCHlch(70.76, 71.57, 115.64°)
OKLaboklab(73.74% -0.0911 0.1414)
OKLCHoklch(73.74% 0.168 122.8)
XYZxyz(30.6881, 41.8435, 8.3789)
Luminance0.4184 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97BA27 #4A27BA
analogous
#BA9427 #97BA27 #4EBA27
triadic
#97BA27 #2797BA #BA2797
tetradic
#97BA27 #27BA94 #4A27BA #BA274E
square
#97BA27 #27BA94 #4A27BA #BA274E
split-complementary
#97BA27 #274EBA #9427BA
monochromatic
#455512 #6E871C #97BA27 #B5D846 #CAE379

Accessibility & contrast

On white

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

On black

9.37
#97BA27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97BA27
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97BA27#FFFFFF#000000##000000
##97BA271.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C1AD36
Tritanopia (blue-blind)
#9FB09F
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #97ba27;
/* rgb */ color: rgb(151, 186, 39);
/* oklch */ color: oklch(73.7% 0.168 122.8);
Tailwind
colors: {
  custom: {
    50: '#bace6e',
    500: '#97ba27',
    950: '#000000',
  },
}
SCSS
$custom: #97ba27;
$custom-light: #bace6e;
$custom-dark: #000000;
JSON
{
  "hex": "#97ba27",
  "rgb": {
    "r": 151,
    "g": 186,
    "b": 39
  },
  "hsl": {
    "h": 74.286,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73744,
    "c": 0.16821,
    "h": 122.8
  },
  "luminance": 0.41844
}

Semantic roles & 50–950 ramp

primary
#97BA27
secondary
#8772CB
accent
#40E868
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97BA27

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

Preview Lab → · Contrast checker → · Palette generator →

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