#97AC1E#97AC1E

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

Color values

HEX#97AC1E
RGBrgb(151, 172, 30)
HSLhsl(69, 70%, 40%)
HSVhsv(69, 83%, 67%)
CMYKcmyk(12.2%, 0%, 82.6%, 32.5%)
CIE-LABlab(66.66, -24.58, 63.36)
CIE-LCHlch(66.66, 67.96, 111.20°)
OKLaboklab(70.42% -0.0743 0.1374)
OKLCHoklch(70.42% 0.156 118.4)
XYZxyz(27.7500, 36.1783, 6.7493)
Luminance0.3618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AC1E #331EAC
analogous
#AC7A1E #97AC1E #50AC1E
triadic
#97AC1E #1E97AC #AC1E97
tetradic
#97AC1E #1EAC7A #331EAC #AC1E50
square
#97AC1E #1EAC7A #331EAC #AC1E50
split-complementary
#97AC1E #1E50AC #7A1EAC
monochromatic
#3C440C #697815 #97AC1E #C1DA2D #D0E361

Accessibility & contrast

On white

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

On black

8.24
#97AC1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AC1E
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AC1E#FFFFFF#000000##000000
##97AC1E1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.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: #97ac1e;
/* rgb */ color: rgb(151, 172, 30);
/* oklch */ color: oklch(70.4% 0.156 118.4);
Tailwind
colors: {
  custom: {
    50: '#b9c469',
    500: '#97ac1e',
    950: '#000000',
  },
}
SCSS
$custom: #97ac1e;
$custom-light: #b9c469;
$custom-dark: #000000;
JSON
{
  "hex": "#97ac1e",
  "rgb": {
    "r": 151,
    "g": 172,
    "b": 30
  },
  "hsl": {
    "h": 68.873,
    "s": 70.297,
    "l": 39.608
  },
  "oklch": {
    "l": 0.70418,
    "c": 0.1562,
    "h": 118.4
  },
  "luminance": 0.36178
}

Semantic roles & 50–950 ramp

primary
#97AC1E
secondary
#6D5EC8
accent
#3BED55
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97AC1E

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

Preview Lab → · Contrast checker → · Palette generator →

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