#97B526#97B526

#97B526 is a light, vivid yellow-green. Relative luminance 0.398; OKLCH L 72.6% C 0.163 H 121.4°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#97B526
RGBrgb(151, 181, 38)
HSLhsl(73, 65%, 43%)
HSVhsv(73, 79%, 71%)
CMYKcmyk(16.6%, 0%, 79%, 29%)
CIE-LABlab(69.30, -28.63, 63.49)
CIE-LCHlch(69.30, 69.65, 114.28°)
OKLaboklab(72.56% -0.0848 0.139)
OKLCHoklch(72.56% 0.163 121.4)
XYZxyz(29.6367, 39.7670, 7.9478)
Luminance0.3977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B526 #4426B5
analogous
#B58B26 #97B526 #50B526
triadic
#97B526 #2697B5 #B52697
tetradic
#97B526 #26B58B #4426B5 #B52650
square
#97B526 #26B58B #4426B5 #B52650
split-complementary
#97B526 #2650B5 #8B26B5
monochromatic
#435011 #6D821B #97B526 #B8D741 #CBE274

Accessibility & contrast

On white

2.35
#97B526 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#97B526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B526
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B526#FFFFFF#000000##000000
##97B5261.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#BDA934
Tritanopia (blue-blind)
#A0AB9B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #97b526;
/* rgb */ color: rgb(151, 181, 38);
/* oklch */ color: oklch(72.6% 0.163 121.4);
Tailwind
colors: {
  custom: {
    50: '#b9cb6d',
    500: '#97b526',
    950: '#000000',
  },
}
SCSS
$custom: #97b526;
$custom-light: #b9cb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#97b526",
  "rgb": {
    "r": 151,
    "g": 181,
    "b": 38
  },
  "hsl": {
    "h": 72.587,
    "s": 65.297,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72563,
    "c": 0.16287,
    "h": 121.4
  },
  "luminance": 0.39767
}

Semantic roles & 50–950 ramp

primary
#97B526
secondary
#816EC9
accent
#40E863
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97B526

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

Preview Lab → · Contrast checker → · Palette generator →

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