#97AB30#97AB30

#97AB30 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.3% C 0.146 H 118.4°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#97AB30
RGBrgb(151, 171, 48)
HSLhsl(70, 56%, 43%)
HSVhsv(70, 72%, 67%)
CMYKcmyk(11.7%, 0%, 71.9%, 32.9%)
CIE-LABlab(66.46, -23.29, 57.50)
CIE-LCHlch(66.46, 62.04, 112.05°)
OKLaboklab(70.29% -0.0693 0.1281)
OKLCHoklch(70.29% 0.146 118.4)
XYZxyz(27.8595, 35.9188, 8.2611)
Luminance0.3592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AB30 #4430AB
analogous
#AB8130 #97AB30 #59AB30
triadic
#97AB30 #3097AB #AB3097
tetradic
#97AB30 #30AB81 #4430AB #AB3059
square
#97AB30 #30AB81 #4430AB #AB3059
split-complementary
#97AB30 #3059AB #8130AB
monochromatic
#434B15 #6D7B23 #97AB30 #B8CD4C #CBDA7B

Accessibility & contrast

On white

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

On black

8.18
#97AB30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AB30
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AB30#FFFFFF#000000##000000
##97AB301.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97ab30;
/* rgb */ color: rgb(151, 171, 48);
/* oklch */ color: oklch(70.3% 0.146 118.4);
Tailwind
colors: {
  custom: {
    50: '#b9c471',
    500: '#97ab30',
    950: '#000000',
  },
}
SCSS
$custom: #97ab30;
$custom-light: #b9c471;
$custom-dark: #000000;
JSON
{
  "hex": "#97ab30",
  "rgb": {
    "r": 151,
    "g": 171,
    "b": 48
  },
  "hsl": {
    "h": 69.756,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70287,
    "c": 0.14563,
    "h": 118.4
  },
  "luminance": 0.35919
}

Semantic roles & 50–950 ramp

primary
#97AB30
secondary
#8174C3
accent
#48DF61
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97AB30

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

Preview Lab → · Contrast checker → · Palette generator →

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