#97AD1F#97AD1F

#97AD1F 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#97AD1F
RGBrgb(151, 173, 31)
HSLhsl(69, 70%, 40%)
HSVhsv(69, 82%, 68%)
CMYKcmyk(12.7%, 0%, 82.1%, 32.2%)
CIE-LABlab(66.95, -25.03, 63.35)
CIE-LCHlch(66.95, 68.12, 111.56°)
OKLaboklab(70.66% -0.0755 0.1376)
OKLCHoklch(70.66% 0.157 118.7)
XYZxyz(27.9541, 36.5656, 6.8813)
Luminance0.3656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AD1F #351FAD
analogous
#AD7C1F #97AD1F #50AD1F
triadic
#97AD1F #1F97AD #AD1F97
tetradic
#97AD1F #1FAD7C #351FAD #AD1F50
square
#97AD1F #1FAD7C #351FAD #AD1F50
split-complementary
#97AD1F #1F50AD #7C1FAD
monochromatic
#3C450C #6A7916 #97AD1F #BFDA2F #CFE363

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AD1F#FFFFFF#000000##000000
##97AD1F1.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: #97ad1f;
/* rgb */ color: rgb(151, 173, 31);
/* oklch */ color: oklch(70.7% 0.157 118.7);
Tailwind
colors: {
  custom: {
    50: '#b9c569',
    500: '#97ad1f',
    950: '#000000',
  },
}
SCSS
$custom: #97ad1f;
$custom-light: #b9c569;
$custom-dark: #000000;
JSON
{
  "hex": "#97ad1f",
  "rgb": {
    "r": 151,
    "g": 173,
    "b": 31
  },
  "hsl": {
    "h": 69.296,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.70656,
    "c": 0.15691,
    "h": 118.7
  },
  "luminance": 0.36565
}

Semantic roles & 50–950 ramp

primary
#97AD1F
secondary
#7060C8
accent
#3BEC57
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97AD1F

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

Preview Lab → · Contrast checker → · Palette generator →

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