#97AD1C#97AD1C

#97AD1C is a light, vivid yellow. Relative luminance 0.365; 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#97AD1C
RGBrgb(151, 173, 28)
HSLhsl(69, 72%, 39%)
HSVhsv(69, 84%, 68%)
CMYKcmyk(12.7%, 0%, 83.8%, 32.2%)
CIE-LABlab(66.94, -25.13, 64.11)
CIE-LCHlch(66.94, 68.86, 111.41°)
OKLaboklab(70.64% -0.0759 0.1387)
OKLCHoklch(70.64% 0.158 118.7)
XYZxyz(27.9163, 36.5505, 6.6827)
Luminance0.3655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AD1C #321CAD
analogous
#AD7A1C #97AD1C #4FAD1C
triadic
#97AD1C #1C97AD #AD1C97
tetradic
#97AD1C #1CAD7A #321CAD #AD1C4F
square
#97AD1C #1CAD7A #321CAD #AD1C4F
split-complementary
#97AD1C #1C4FAD #7A1CAD
monochromatic
#3B440B #697813 #97AD1C #C1DC2A #D1E55E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AD1C#FFFFFF#000000##000000
##97AD1C1.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)
#B7A32C
Tritanopia (blue-blind)
#A1A393
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #97ad1c;
/* rgb */ color: rgb(151, 173, 28);
/* oklch */ color: oklch(70.6% 0.158 118.7);
Tailwind
colors: {
  custom: {
    50: '#bac568',
    500: '#97ad1c',
    950: '#000000',
  },
}
SCSS
$custom: #97ad1c;
$custom-light: #bac568;
$custom-dark: #000000;
JSON
{
  "hex": "#97ad1c",
  "rgb": {
    "r": 151,
    "g": 173,
    "b": 28
  },
  "hsl": {
    "h": 69.103,
    "s": 72.139,
    "l": 39.412
  },
  "oklch": {
    "l": 0.70643,
    "c": 0.15811,
    "h": 118.7
  },
  "luminance": 0.3655
}

Semantic roles & 50–950 ramp

primary
#97AD1C
secondary
#6C5CC9
accent
#39EF55
background
#FBFCF6
surface
#F7F8EB
border
#D0D1C6
text
#121207
muted
#81817A

Preview Lab

Preview with #97AD1C

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

Preview Lab → · Contrast checker → · Palette generator →

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