#97AC2B#97AC2B

#97AC2B 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#97AC2B
RGBrgb(151, 172, 43)
HSLhsl(70, 60%, 42%)
HSVhsv(70, 75%, 67%)
CMYKcmyk(12.2%, 0%, 75%, 32.5%)
CIE-LABlab(66.72, -24.04, 59.51)
CIE-LCHlch(66.72, 64.18, 112.00°)
OKLaboklab(70.49% -0.0718 0.1315)
OKLCHoklch(70.49% 0.15 118.6)
XYZxyz(27.9517, 36.2590, 7.8112)
Luminance0.3626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AC2B #402BAC
analogous
#AC802B #97AC2B #57AC2B
triadic
#97AC2B #2B97AC #AC2B97
tetradic
#97AC2B #2BAC80 #402BAC #AC2B57
square
#97AC2B #2BAC80 #402BAC #AC2B57
split-complementary
#97AC2B #2B57AC #802BAC
monochromatic
#414A13 #6C7B1F #97AC2B #B9D044 #CCDC75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AC2B#FFFFFF#000000##000000
##97AC2B1.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)
#B7A20E
Deuteranopia (green-blind)
#B5A336
Tritanopia (blue-blind)
#A0A294
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #97ac2b;
/* rgb */ color: rgb(151, 172, 43);
/* oklch */ color: oklch(70.5% 0.150 118.6);
Tailwind
colors: {
  custom: {
    50: '#b9c46e',
    500: '#97ac2b',
    950: '#000000',
  },
}
SCSS
$custom: #97ac2b;
$custom-light: #b9c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#97ac2b",
  "rgb": {
    "r": 151,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 69.767,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70487,
    "c": 0.14981,
    "h": 118.6
  },
  "luminance": 0.36259
}

Semantic roles & 50–950 ramp

primary
#97AC2B
secondary
#7D6FC4
accent
#45E35E
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97AC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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