#97AB2E#97AB2E

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

Color values

HEX#97AB2E
RGBrgb(151, 171, 46)
HSLhsl(70, 58%, 43%)
HSVhsv(70, 73%, 67%)
CMYKcmyk(11.7%, 0%, 73.1%, 32.9%)
CIE-LABlab(66.45, -23.39, 58.21)
CIE-LCHlch(66.45, 62.74, 111.89°)
OKLaboklab(70.27% -0.0698 0.1293)
OKLCHoklch(70.27% 0.147 118.4)
XYZxyz(27.8192, 35.9026, 8.0486)
Luminance0.3590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AB2E #422EAB
analogous
#AB812E #97AB2E #58AB2E
triadic
#97AB2E #2E97AB #AB2E97
tetradic
#97AB2E #2EAB81 #422EAB #AB2E58
square
#97AB2E #2EAB81 #422EAB #AB2E58
split-complementary
#97AB2E #2E58AB #812EAB
monochromatic
#424B14 #6C7B21 #97AB2E #B8CE48 #CBDB79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AB2E#FFFFFF#000000##000000
##97AB2E1.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)
#B6A116
Deuteranopia (green-blind)
#B4A239
Tritanopia (blue-blind)
#A0A193
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #97ab2e;
/* rgb */ color: rgb(151, 171, 46);
/* oklch */ color: oklch(70.3% 0.147 118.4);
Tailwind
colors: {
  custom: {
    50: '#b9c470',
    500: '#97ab2e',
    950: '#000000',
  },
}
SCSS
$custom: #97ab2e;
$custom-light: #b9c470;
$custom-dark: #000000;
JSON
{
  "hex": "#97ab2e",
  "rgb": {
    "r": 151,
    "g": 171,
    "b": 46
  },
  "hsl": {
    "h": 69.6,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70273,
    "c": 0.14688,
    "h": 118.4
  },
  "luminance": 0.35902
}

Semantic roles & 50–950 ramp

primary
#97AB2E
secondary
#7F72C3
accent
#47E160
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97AB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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