#97AC25#97AC25

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

Color values

HEX#97AC25
RGBrgb(151, 172, 37)
HSLhsl(69, 65%, 41%)
HSVhsv(69, 78%, 67%)
CMYKcmyk(12.2%, 0%, 78.5%, 32.5%)
CIE-LABlab(66.69, -24.31, 61.41)
CIE-LCHlch(66.69, 66.05, 111.60°)
OKLaboklab(70.45% -0.073 0.1345)
OKLCHoklch(70.45% 0.153 118.5)
XYZxyz(27.8496, 36.2182, 7.2736)
Luminance0.3622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AC25 #3A25AC
analogous
#AC7D25 #97AC25 #54AC25
triadic
#97AC25 #2597AC #AC2597
tetradic
#97AC25 #25AC7D #3A25AC #AC2554
square
#97AC25 #25AC7D #3A25AC #AC2554
split-complementary
#97AC25 #2554AC #7D25AC
monochromatic
#3F470F #6B7A1A #97AC25 #BCD53A #CDDF6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AC25#FFFFFF#000000##000000
##97AC251.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)
#B5A332
Tritanopia (blue-blind)
#A0A293
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #97ac25;
/* rgb */ color: rgb(151, 172, 37);
/* oklch */ color: oklch(70.5% 0.153 118.5);
Tailwind
colors: {
  custom: {
    50: '#b9c46c',
    500: '#97ac25',
    950: '#000000',
  },
}
SCSS
$custom: #97ac25;
$custom-light: #b9c46c;
$custom-dark: #000000;
JSON
{
  "hex": "#97ac25",
  "rgb": {
    "r": 151,
    "g": 172,
    "b": 37
  },
  "hsl": {
    "h": 69.333,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70452,
    "c": 0.15302,
    "h": 118.5
  },
  "luminance": 0.36218
}

Semantic roles & 50–950 ramp

primary
#97AC25
secondary
#7667C6
accent
#40E85A
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97AC25

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

Preview Lab → · Contrast checker → · Palette generator →

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