#97AC2D#97AC2D

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

Color values

HEX#97AC2D
RGBrgb(151, 172, 45)
HSLhsl(70, 59%, 43%)
HSVhsv(70, 74%, 67%)
CMYKcmyk(12.2%, 0%, 73.8%, 32.5%)
CIE-LABlab(66.73, -23.94, 58.84)
CIE-LCHlch(66.73, 63.52, 112.14°)
OKLaboklab(70.5% -0.0714 0.1304)
OKLCHoklch(70.5% 0.149 118.7)
XYZxyz(27.9893, 36.2740, 8.0092)
Luminance0.3627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AC2D #422DAC
analogous
#AC812D #97AC2D #58AC2D
triadic
#97AC2D #2D97AC #AC2D97
tetradic
#97AC2D #2DAC81 #422DAC #AC2D58
square
#97AC2D #2DAC81 #422DAC #AC2D58
split-complementary
#97AC2D #2D58AC #812DAC
monochromatic
#424B14 #6C7B20 #97AC2D #B8CF47 #CBDC78

Accessibility & contrast

On white

2.54
#97AC2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AC2D#FFFFFF#000000##000000
##97AC2D1.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A213
Deuteranopia (green-blind)
#B5A338
Tritanopia (blue-blind)
#A0A294
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #97ac2d;
/* rgb */ color: rgb(151, 172, 45);
/* oklch */ color: oklch(70.5% 0.149 118.7);
Tailwind
colors: {
  custom: {
    50: '#b9c46f',
    500: '#97ac2d',
    950: '#000000',
  },
}
SCSS
$custom: #97ac2d;
$custom-light: #b9c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#97ac2d",
  "rgb": {
    "r": 151,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 69.921,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70499,
    "c": 0.14865,
    "h": 118.7
  },
  "luminance": 0.36274
}

Semantic roles & 50–950 ramp

primary
#97AC2D
secondary
#7F71C4
accent
#46E260
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97AC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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