#97B42F#97B42F

#97B42F is a light, vivid yellow-green. Relative luminance 0.394; OKLCH L 72.4% C 0.157 H 121.4°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#97B42F
RGBrgb(151, 180, 47)
HSLhsl(73, 59%, 45%)
HSVhsv(73, 74%, 71%)
CMYKcmyk(16.1%, 0%, 73.9%, 29.4%)
CIE-LABlab(69.06, -27.73, 60.38)
CIE-LCHlch(69.06, 66.45, 114.67°)
OKLaboklab(72.38% -0.0816 0.134)
OKLCHoklch(72.38% 0.157 121.4)
XYZxyz(29.5973, 39.4271, 8.7397)
Luminance0.3943 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B42F #4C2FB4
analogous
#B48F2F #97B42F #54B42F
triadic
#97B42F #2F97B4 #B42F97
tetradic
#97B42F #2FB48F #4C2FB4 #B42F54
square
#97B42F #2FB48F #4C2FB4 #B42F54
split-complementary
#97B42F #2F54B4 #8F2FB4
monochromatic
#465316 #6E8322 #97B42F #B5D14F #C9DE80

Accessibility & contrast

On white

2.36
#97B42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#97B42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B42F
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B42F#FFFFFF#000000##000000
##97B42F1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA913
Deuteranopia (green-blind)
#BCA93B
Tritanopia (blue-blind)
#9FAB9B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #97b42f;
/* rgb */ color: rgb(151, 180, 47);
/* oklch */ color: oklch(72.4% 0.157 121.4);
Tailwind
colors: {
  custom: {
    50: '#b9ca71',
    500: '#97b42f',
    950: '#000000',
  },
}
SCSS
$custom: #97b42f;
$custom-light: #b9ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#97b42f",
  "rgb": {
    "r": 151,
    "g": 180,
    "b": 47
  },
  "hsl": {
    "h": 73.083,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72381,
    "c": 0.15691,
    "h": 121.4
  },
  "luminance": 0.39427
}

Semantic roles & 50–950 ramp

primary
#97B42F
secondary
#8978C7
accent
#46E268
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97B42F

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

Preview Lab → · Contrast checker → · Palette generator →

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