#97AC1D#97AC1D

#97AC1D is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.4% C 0.157 H 118.4°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#97AC1D
RGBrgb(151, 172, 29)
HSLhsl(69, 71%, 39%)
HSVhsv(69, 83%, 67%)
CMYKcmyk(12.2%, 0%, 83.1%, 32.5%)
CIE-LABlab(66.65, -24.61, 63.61)
CIE-LCHlch(66.65, 68.21, 111.15°)
OKLaboklab(70.41% -0.0744 0.1378)
OKLCHoklch(70.41% 0.157 118.4)
XYZxyz(27.7375, 36.1733, 6.6831)
Luminance0.3617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AC1D #321DAC
analogous
#AC7A1D #97AC1D #50AC1D
triadic
#97AC1D #1D97AC #AC1D97
tetradic
#97AC1D #1DAC7A #321DAC #AC1D50
square
#97AC1D #1DAC7A #321DAC #AC1D50
split-complementary
#97AC1D #1D50AC #7A1DAC
monochromatic
#3B430B #697814 #97AC1D #C1DB2B #D1E45F

Accessibility & contrast

On white

2.55
#97AC1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#97AC1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AC1D
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AC1D#FFFFFF#000000##000000
##97AC1D1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B6A32D
Tritanopia (blue-blind)
#A1A293
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #97ac1d;
/* rgb */ color: rgb(151, 172, 29);
/* oklch */ color: oklch(70.4% 0.157 118.4);
Tailwind
colors: {
  custom: {
    50: '#b9c468',
    500: '#97ac1d',
    950: '#000000',
  },
}
SCSS
$custom: #97ac1d;
$custom-light: #b9c468;
$custom-dark: #000000;
JSON
{
  "hex": "#97ac1d",
  "rgb": {
    "r": 151,
    "g": 172,
    "b": 29
  },
  "hsl": {
    "h": 68.811,
    "s": 71.144,
    "l": 39.412
  },
  "oklch": {
    "l": 0.70413,
    "c": 0.15661,
    "h": 118.4
  },
  "luminance": 0.36173
}

Semantic roles & 50–950 ramp

primary
#97AC1D
secondary
#6C5CC8
accent
#3AEE54
background
#FBFCF6
surface
#F7F8EB
border
#D0D1C6
text
#121207
muted
#81817A

Preview Lab

Preview with #97AC1D

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

Preview Lab → · Contrast checker → · Palette generator →

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