#97AC2C#97AC2C

#97AC2C 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#97AC2C
RGBrgb(151, 172, 44)
HSLhsl(70, 59%, 42%)
HSVhsv(70, 74%, 67%)
CMYKcmyk(12.2%, 0%, 74.4%, 32.5%)
CIE-LABlab(66.72, -23.99, 59.18)
CIE-LCHlch(66.72, 63.86, 112.07°)
OKLaboklab(70.49% -0.0716 0.131)
OKLCHoklch(70.49% 0.149 118.7)
XYZxyz(27.9702, 36.2664, 7.9090)
Luminance0.3627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AC2C #412CAC
analogous
#AC812C #97AC2C #57AC2C
triadic
#97AC2C #2C97AC #AC2C97
tetradic
#97AC2C #2CAC81 #412CAC #AC2C57
square
#97AC2C #2CAC81 #412CAC #AC2C57
split-complementary
#97AC2C #2C57AC #812CAC
monochromatic
#414B13 #6C7B20 #97AC2C #B9D046 #CBDC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AC2C#FFFFFF#000000##000000
##97AC2C1.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)
#B7A211
Deuteranopia (green-blind)
#B5A337
Tritanopia (blue-blind)
#A0A294
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #97ac2c;
/* rgb */ color: rgb(151, 172, 44);
/* oklch */ color: oklch(70.5% 0.149 118.7);
Tailwind
colors: {
  custom: {
    50: '#b9c46f',
    500: '#97ac2c',
    950: '#000000',
  },
}
SCSS
$custom: #97ac2c;
$custom-light: #b9c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#97ac2c",
  "rgb": {
    "r": 151,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 69.844,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70493,
    "c": 0.14924,
    "h": 118.7
  },
  "luminance": 0.36266
}

Semantic roles & 50–950 ramp

primary
#97AC2C
secondary
#7E70C4
accent
#45E25F
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97AC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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