#97AD1D#97AD1D

#97AD1D is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.6% C 0.158 H 118.7°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#97AD1D
RGBrgb(151, 173, 29)
HSLhsl(69, 71%, 40%)
HSVhsv(69, 83%, 68%)
CMYKcmyk(12.7%, 0%, 83.2%, 32.2%)
CIE-LABlab(66.94, -25.10, 63.86)
CIE-LCHlch(66.94, 68.62, 111.46°)
OKLaboklab(70.65% -0.0758 0.1383)
OKLCHoklch(70.65% 0.158 118.7)
XYZxyz(27.9285, 36.5554, 6.7468)
Luminance0.3655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AD1D #331DAD
analogous
#AD7B1D #97AD1D #4FAD1D
triadic
#97AD1D #1D97AD #AD1D97
tetradic
#97AD1D #1DAD7B #331DAD #AD1D4F
square
#97AD1D #1DAD7B #331DAD #AD1D4F
split-complementary
#97AD1D #1D4FAD #7B1DAD
monochromatic
#3C440B #697914 #97AD1D #C1DC2C #D0E460

Accessibility & contrast

On white

2.53
#97AD1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#97AD1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AD1D
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AD1D#FFFFFF#000000##000000
##97AD1D1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B6A32D
Tritanopia (blue-blind)
#A1A394
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #97ad1d;
/* rgb */ color: rgb(151, 173, 29);
/* oklch */ color: oklch(70.6% 0.158 118.7);
Tailwind
colors: {
  custom: {
    50: '#bac569',
    500: '#97ad1d',
    950: '#000000',
  },
}
SCSS
$custom: #97ad1d;
$custom-light: #bac569;
$custom-dark: #000000;
JSON
{
  "hex": "#97ad1d",
  "rgb": {
    "r": 151,
    "g": 173,
    "b": 29
  },
  "hsl": {
    "h": 69.167,
    "s": 71.287,
    "l": 39.608
  },
  "oklch": {
    "l": 0.70647,
    "c": 0.15771,
    "h": 118.7
  },
  "luminance": 0.36555
}

Semantic roles & 50–950 ramp

primary
#97AD1D
secondary
#6D5DC9
accent
#3AEE55
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97AD1D

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

Preview Lab → · Contrast checker → · Palette generator →

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