#97AB27#97AB27

#97AB27 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.2% C 0.151 H 118.2°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#97AB27
RGBrgb(151, 171, 39)
HSLhsl(69, 63%, 41%)
HSVhsv(69, 77%, 67%)
CMYKcmyk(11.7%, 0%, 77.2%, 32.9%)
CIE-LABlab(66.41, -23.73, 60.53)
CIE-LCHlch(66.41, 65.02, 111.41°)
OKLaboklab(70.23% -0.0713 0.133)
OKLCHoklch(70.23% 0.151 118.2)
XYZxyz(27.6923, 35.8519, 7.3803)
Luminance0.3585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AB27 #3B27AB
analogous
#AB7D27 #97AB27 #55AB27
triadic
#97AB27 #2797AB #AB2797
tetradic
#97AB27 #27AB7D #3B27AB #AB2755
square
#97AB27 #27AB7D #3B27AB #AB2755
split-complementary
#97AB27 #2755AB #7D27AB
monochromatic
#3F4710 #6B791C #97AB27 #BCD33D #CDDE6E

Accessibility & contrast

On white

2.57
#97AB27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#97AB27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AB27
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AB27#FFFFFF#000000##000000
##97AB271.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A102
Deuteranopia (green-blind)
#B5A233
Tritanopia (blue-blind)
#A0A192
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #97ab27;
/* rgb */ color: rgb(151, 171, 39);
/* oklch */ color: oklch(70.2% 0.151 118.2);
Tailwind
colors: {
  custom: {
    50: '#b9c46c',
    500: '#97ab27',
    950: '#000000',
  },
}
SCSS
$custom: #97ab27;
$custom-light: #b9c46c;
$custom-dark: #000000;
JSON
{
  "hex": "#97ab27",
  "rgb": {
    "r": 151,
    "g": 171,
    "b": 39
  },
  "hsl": {
    "h": 69.091,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.7023,
    "c": 0.15086,
    "h": 118.2
  },
  "luminance": 0.35852
}

Semantic roles & 50–950 ramp

primary
#97AB27
secondary
#7769C5
accent
#42E65B
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97AB27

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

Preview Lab → · Contrast checker → · Palette generator →

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