#97BA23#97BA23

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

Color values

HEX#97BA23
RGBrgb(151, 186, 35)
HSLhsl(74, 68%, 43%)
HSVhsv(74, 81%, 73%)
CMYKcmyk(18.8%, 0%, 81.2%, 27.1%)
CIE-LABlab(70.75, -31.12, 65.63)
CIE-LCHlch(70.75, 72.63, 115.37°)
OKLaboklab(73.72% -0.0918 0.1431)
OKLCHoklch(73.72% 0.17 122.7)
XYZxyz(30.6252, 41.8183, 8.0481)
Luminance0.4182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97BA23 #4623BA
analogous
#BA9123 #97BA23 #4CBA23
triadic
#97BA23 #2397BA #BA2397
tetradic
#97BA23 #23BA91 #4623BA #BA234C
square
#97BA23 #23BA91 #4623BA #BA234C
split-complementary
#97BA23 #234CBA #9123BA
monochromatic
#435310 #6D8619 #97BA23 #B7DB3F #CAE573

Accessibility & contrast

On white

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

On black

9.36
#97BA23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97BA23
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97BA23#FFFFFF#000000##000000
##97BA231.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97ba23;
/* rgb */ color: rgb(151, 186, 35);
/* oklch */ color: oklch(73.7% 0.170 122.7);
Tailwind
colors: {
  custom: {
    50: '#bace6d',
    500: '#97ba23',
    950: '#000000',
  },
}
SCSS
$custom: #97ba23;
$custom-light: #bace6d;
$custom-dark: #000000;
JSON
{
  "hex": "#97ba23",
  "rgb": {
    "r": 151,
    "g": 186,
    "b": 35
  },
  "hsl": {
    "h": 73.907,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.73724,
    "c": 0.17002,
    "h": 122.7
  },
  "luminance": 0.41818
}

Semantic roles & 50–950 ramp

primary
#97BA23
secondary
#836DCC
accent
#3DEB65
background
#FBFCF6
surface
#F7F9EC
border
#D0D2C7
text
#121308
muted
#81827B

Preview Lab

Preview with #97BA23

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

Preview Lab → · Contrast checker → · Palette generator →

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