#97AC27#97AC27

#97AC27 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.5% C 0.152 H 118.6°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#97AC27
RGBrgb(151, 172, 39)
HSLhsl(69, 63%, 41%)
HSVhsv(69, 77%, 67%)
CMYKcmyk(12.2%, 0%, 77.3%, 32.5%)
CIE-LABlab(66.70, -24.22, 60.80)
CIE-LCHlch(66.70, 65.45, 111.72°)
OKLaboklab(70.46% -0.0727 0.1335)
OKLCHoklch(70.46% 0.152 118.6)
XYZxyz(27.8819, 36.2311, 7.4435)
Luminance0.3623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AC27 #3C27AC
analogous
#AC7F27 #97AC27 #55AC27
triadic
#97AC27 #2797AC #AC2797
tetradic
#97AC27 #27AC7F #3C27AC #AC2755
square
#97AC27 #27AC7F #3C27AC #AC2755
split-complementary
#97AC27 #2755AC #7F27AC
monochromatic
#3F4810 #6B7A1C #97AC27 #BBD33D #CDDE6F

Accessibility & contrast

On white

2.55
#97AC27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#97AC27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AC27
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AC27#FFFFFF#000000##000000
##97AC271.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A201
Deuteranopia (green-blind)
#B5A333
Tritanopia (blue-blind)
#A0A293
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #97ac27;
/* rgb */ color: rgb(151, 172, 39);
/* oklch */ color: oklch(70.5% 0.152 118.6);
Tailwind
colors: {
  custom: {
    50: '#b9c46d',
    500: '#97ac27',
    950: '#000000',
  },
}
SCSS
$custom: #97ac27;
$custom-light: #b9c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#97ac27",
  "rgb": {
    "r": 151,
    "g": 172,
    "b": 39
  },
  "hsl": {
    "h": 69.474,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70463,
    "c": 0.152,
    "h": 118.6
  },
  "luminance": 0.36231
}

Semantic roles & 50–950 ramp

primary
#97AC27
secondary
#786AC5
accent
#42E65C
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #97AC27

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

Preview Lab → · Contrast checker → · Palette generator →

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