#97B538#97B538

#97B538 is a light, vivid yellow-green. Relative luminance 0.399; OKLCH L 72.7% C 0.152 H 122.0°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#97B538
RGBrgb(151, 181, 56)
HSLhsl(74, 53%, 46%)
HSVhsv(74, 69%, 71%)
CMYKcmyk(16.6%, 0%, 69.1%, 29%)
CIE-LABlab(69.41, -27.70, 57.43)
CIE-LCHlch(69.41, 63.76, 115.75°)
OKLaboklab(72.68% -0.0808 0.1292)
OKLCHoklch(72.68% 0.152 122)
XYZxyz(30.0006, 39.9125, 9.8640)
Luminance0.3991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B538 #5638B5
analogous
#B59538 #97B538 #59B538
triadic
#97B538 #3897B5 #B53897
tetradic
#97B538 #38B595 #5638B5 #B53859
square
#97B538 #38B595 #5638B5 #B53859
split-complementary
#97B538 #3859B5 #9538B5
monochromatic
#49581B #70862A #97B538 #B2CD5D #C8DB8C

Accessibility & contrast

On white

2.34
#97B538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#97B538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B538
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B538#FFFFFF#000000##000000
##97B5381.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA25
Deuteranopia (green-blind)
#BCA942
Tritanopia (blue-blind)
#9FAC9C
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #97b538;
/* rgb */ color: rgb(151, 181, 56);
/* oklch */ color: oklch(72.7% 0.152 122.0);
Tailwind
colors: {
  custom: {
    50: '#b9cb76',
    500: '#97b538',
    950: '#000000',
  },
}
SCSS
$custom: #97b538;
$custom-light: #b9cb76;
$custom-dark: #000000;
JSON
{
  "hex": "#97b538",
  "rgb": {
    "r": 151,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 74.4,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7268,
    "c": 0.15238,
    "h": 122
  },
  "luminance": 0.39913
}

Semantic roles & 50–950 ramp

primary
#97B538
secondary
#9383C6
accent
#4CDC6E
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #97B538

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

Preview Lab → · Contrast checker → · Palette generator →

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