#97AB2B#97AB2B

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

Color values

HEX#97AB2B
RGBrgb(151, 171, 43)
HSLhsl(69, 60%, 42%)
HSVhsv(69, 75%, 67%)
CMYKcmyk(11.7%, 0%, 74.9%, 32.9%)
CIE-LABlab(66.43, -23.55, 59.24)
CIE-LCHlch(66.43, 63.75, 111.68°)
OKLaboklab(70.25% -0.0704 0.1309)
OKLCHoklch(70.25% 0.149 118.3)
XYZxyz(27.7621, 35.8798, 7.7480)
Luminance0.3588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AB2B #3F2BAB
analogous
#AB7F2B #97AB2B #57AB2B
triadic
#97AB2B #2B97AB #AB2B97
tetradic
#97AB2B #2BAB7F #3F2BAB #AB2B57
square
#97AB2B #2BAB7F #3F2BAB #AB2B57
split-complementary
#97AB2B #2B57AB #7F2BAB
monochromatic
#414912 #6C7A1F #97AB2B #BAD043 #CCDC74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AB2B#FFFFFF#000000##000000
##97AB2B1.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)
#B7A10F
Deuteranopia (green-blind)
#B4A236
Tritanopia (blue-blind)
#A0A193
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #97ab2b;
/* rgb */ color: rgb(151, 171, 43);
/* oklch */ color: oklch(70.3% 0.149 118.3);
Tailwind
colors: {
  custom: {
    50: '#b9c46e',
    500: '#97ab2b',
    950: '#000000',
  },
}
SCSS
$custom: #97ab2b;
$custom-light: #b9c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#97ab2b",
  "rgb": {
    "r": 151,
    "g": 171,
    "b": 43
  },
  "hsl": {
    "h": 69.375,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70254,
    "c": 0.14865,
    "h": 118.3
  },
  "luminance": 0.3588
}

Semantic roles & 50–950 ramp

primary
#97AB2B
secondary
#7C6EC4
accent
#45E35E
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97AB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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