#97AB28#97AB28

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

Color values

HEX#97AB28
RGBrgb(151, 171, 40)
HSLhsl(69, 62%, 41%)
HSVhsv(69, 77%, 67%)
CMYKcmyk(11.7%, 0%, 76.6%, 32.9%)
CIE-LABlab(66.41, -23.69, 60.22)
CIE-LCHlch(66.41, 64.71, 111.47°)
OKLaboklab(70.24% -0.0711 0.1325)
OKLCHoklch(70.24% 0.15 118.2)
XYZxyz(27.7091, 35.8586, 7.4688)
Luminance0.3586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AB28 #3C28AB
analogous
#AB7E28 #97AB28 #56AB28
triadic
#97AB28 #2897AB #AB2897
tetradic
#97AB28 #28AB7E #3C28AB #AB2856
square
#97AB28 #28AB7E #3C28AB #AB2856
split-complementary
#97AB28 #2856AB #7E28AB
monochromatic
#3F4811 #6B791C #97AB28 #BBD23E #CDDE70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AB28#FFFFFF#000000##000000
##97AB281.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)
#B7A105
Deuteranopia (green-blind)
#B5A234
Tritanopia (blue-blind)
#A0A192
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #97ab28;
/* rgb */ color: rgb(151, 171, 40);
/* oklch */ color: oklch(70.2% 0.150 118.2);
Tailwind
colors: {
  custom: {
    50: '#b9c46d',
    500: '#97ab28',
    950: '#000000',
  },
}
SCSS
$custom: #97ab28;
$custom-light: #b9c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#97ab28",
  "rgb": {
    "r": 151,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 69.16,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70235,
    "c": 0.15032,
    "h": 118.2
  },
  "luminance": 0.35858
}

Semantic roles & 50–950 ramp

primary
#97AB28
secondary
#786AC4
accent
#43E55B
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #97AB28

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

Preview Lab → · Contrast checker → · Palette generator →

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