#97AD1E#97AD1E

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

Color values

HEX#97AD1E
RGBrgb(151, 173, 30)
HSLhsl(69, 70%, 40%)
HSVhsv(69, 83%, 68%)
CMYKcmyk(12.7%, 0%, 82.7%, 32.2%)
CIE-LABlab(66.95, -25.07, 63.61)
CIE-LCHlch(66.95, 68.37, 111.51°)
OKLaboklab(70.65% -0.0756 0.138)
OKLCHoklch(70.65% 0.157 118.7)
XYZxyz(27.9411, 36.5604, 6.8130)
Luminance0.3656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AD1E #341EAD
analogous
#AD7C1E #97AD1E #4FAD1E
triadic
#97AD1E #1E97AD #AD1E97
tetradic
#97AD1E #1EAD7C #341EAD #AD1E4F
square
#97AD1E #1EAD7C #341EAD #AD1E4F
split-complementary
#97AD1E #1E4FAD #7C1EAD
monochromatic
#3C450C #697915 #97AD1E #C0DB2E #D0E462

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AD1E#FFFFFF#000000##000000
##97AD1E1.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)
#B6A32E
Tritanopia (blue-blind)
#A1A394
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #97ad1e;
/* rgb */ color: rgb(151, 173, 30);
/* oklch */ color: oklch(70.7% 0.157 118.7);
Tailwind
colors: {
  custom: {
    50: '#b9c569',
    500: '#97ad1e',
    950: '#000000',
  },
}
SCSS
$custom: #97ad1e;
$custom-light: #b9c569;
$custom-dark: #000000;
JSON
{
  "hex": "#97ad1e",
  "rgb": {
    "r": 151,
    "g": 173,
    "b": 30
  },
  "hsl": {
    "h": 69.231,
    "s": 70.443,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70651,
    "c": 0.15732,
    "h": 118.7
  },
  "luminance": 0.3656
}

Semantic roles & 50–950 ramp

primary
#97AD1E
secondary
#6F5EC8
accent
#3BED56
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97AD1E

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

Preview Lab → · Contrast checker → · Palette generator →

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