#97AB2C#97AB2C

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

Color values

HEX#97AB2C
RGBrgb(151, 171, 44)
HSLhsl(69, 59%, 42%)
HSVhsv(69, 74%, 67%)
CMYKcmyk(11.7%, 0%, 74.3%, 32.9%)
CIE-LABlab(66.43, -23.50, 58.90)
CIE-LCHlch(66.43, 63.41, 111.75°)
OKLaboklab(70.26% -0.0702 0.1304)
OKLCHoklch(70.26% 0.148 118.3)
XYZxyz(27.7806, 35.8872, 7.8458)
Luminance0.3589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AB2C #402CAB
analogous
#AB802C #97AB2C #57AB2C
triadic
#97AB2C #2C97AB #AB2C97
tetradic
#97AB2C #2CAB80 #402CAB #AB2C57
square
#97AB2C #2CAB80 #402CAB #AB2C57
split-complementary
#97AB2C #2C57AB #802CAB
monochromatic
#414A13 #6C7A1F #97AB2C #B9CF45 #CCDC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AB2C#FFFFFF#000000##000000
##97AB2C1.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)
#B6A111
Deuteranopia (green-blind)
#B4A237
Tritanopia (blue-blind)
#A0A193
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #97ab2c;
/* rgb */ color: rgb(151, 171, 44);
/* oklch */ color: oklch(70.3% 0.148 118.3);
Tailwind
colors: {
  custom: {
    50: '#b9c46f',
    500: '#97ab2c',
    950: '#000000',
  },
}
SCSS
$custom: #97ab2c;
$custom-light: #b9c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#97ab2c",
  "rgb": {
    "r": 151,
    "g": 171,
    "b": 44
  },
  "hsl": {
    "h": 69.449,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.7026,
    "c": 0.14807,
    "h": 118.3
  },
  "luminance": 0.35887
}

Semantic roles & 50–950 ramp

primary
#97AB2C
secondary
#7D6FC3
accent
#46E25E
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97AB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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