#97AC2A#97AC2A

#97AC2A is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.5% C 0.150 H 118.6°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#97AC2A
RGBrgb(151, 172, 42)
HSLhsl(70, 61%, 42%)
HSVhsv(70, 76%, 67%)
CMYKcmyk(12.2%, 0%, 75.6%, 32.5%)
CIE-LABlab(66.71, -24.09, 59.84)
CIE-LCHlch(66.71, 64.51, 111.92°)
OKLaboklab(70.48% -0.072 0.132)
OKLCHoklch(70.48% 0.15 118.6)
XYZxyz(27.9336, 36.2518, 7.7158)
Luminance0.3625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AC2A #3F2AAC
analogous
#AC802A #97AC2A #56AC2A
triadic
#97AC2A #2A97AC #AC2A97
tetradic
#97AC2A #2AAC80 #3F2AAC #AC2A56
square
#97AC2A #2AAC80 #3F2AAC #AC2A56
split-complementary
#97AC2A #2A56AC #802AAC
monochromatic
#414A12 #6C7B1E #97AC2A #BAD142 #CCDD73

Accessibility & contrast

On white

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

On black

8.25
#97AC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AC2A
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AC2A#FFFFFF#000000##000000
##97AC2A1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A20B
Deuteranopia (green-blind)
#B5A336
Tritanopia (blue-blind)
#A0A293
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #97ac2a;
/* rgb */ color: rgb(151, 172, 42);
/* oklch */ color: oklch(70.5% 0.150 118.6);
Tailwind
colors: {
  custom: {
    50: '#b9c46e',
    500: '#97ac2a',
    950: '#000000',
  },
}
SCSS
$custom: #97ac2a;
$custom-light: #b9c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#97ac2a",
  "rgb": {
    "r": 151,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 69.692,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.7048,
    "c": 0.15038,
    "h": 118.6
  },
  "luminance": 0.36252
}

Semantic roles & 50–950 ramp

primary
#97AC2A
secondary
#7C6DC4
accent
#44E45E
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #97AC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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