#97B248#97B248

#97B248 is a light, vivid yellow-green. Relative luminance 0.389; OKLCH L 72.1% C 0.136 H 121.9°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#97B248
RGBrgb(151, 178, 72)
HSLhsl(75, 42%, 49%)
HSVhsv(75, 60%, 70%)
CMYKcmyk(15.2%, 0%, 59.6%, 30.2%)
CIE-LABlab(68.67, -25.08, 49.93)
CIE-LCHlch(68.67, 55.87, 116.67°)
OKLaboklab(72.13% -0.072 0.1156)
OKLCHoklch(72.13% 0.136 121.9)
XYZxyz(29.8529, 38.8879, 12.0630)
Luminance0.3889 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B248 #6348B2
analogous
#B29848 #97B248 #62B248
triadic
#97B248 #4897B2 #B24897
tetradic
#97B248 #48B298 #6348B2 #B24862
square
#97B248 #48B298 #6348B2 #B24862
split-complementary
#97B248 #4862B2 #9848B2
monochromatic
#4D5B25 #728636 #97B248 #B0C671 #C9D79D

Accessibility & contrast

On white

2.39
#97B248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#97B248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B248
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B248#FFFFFF#000000##000000
##97B2481.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA83C
Deuteranopia (green-blind)
#B8A84F
Tritanopia (blue-blind)
#9EAA9B
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #97b248;
/* rgb */ color: rgb(151, 178, 72);
/* oklch */ color: oklch(72.1% 0.136 121.9);
Tailwind
colors: {
  custom: {
    50: '#b8c97f',
    500: '#97b248',
    950: '#000000',
  },
}
SCSS
$custom: #97b248;
$custom-light: #b8c97f;
$custom-dark: #000000;
JSON
{
  "hex": "#97b248",
  "rgb": {
    "r": 151,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 75.283,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.72128,
    "c": 0.13615,
    "h": 121.9
  },
  "luminance": 0.38888
}

Semantic roles & 50–950 ramp

primary
#97B248
secondary
#9F92C4
accent
#56D275
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #97B248

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

Preview Lab → · Contrast checker → · Palette generator →

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