#97A152#97A152

#97A152 is a light, moderate yellow. Relative luminance 0.327; OKLCH L 68.3% C 0.104 H 115.2°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#97A152
RGBrgb(151, 161, 82)
HSLhsl(68, 33%, 48%)
HSVhsv(68, 49%, 63%)
CMYKcmyk(6.2%, 0%, 49.1%, 36.9%)
CIE-LABlab(63.90, -15.59, 39.62)
CIE-LCHlch(63.90, 42.58, 111.48°)
OKLaboklab(68.34% -0.0443 0.0943)
OKLCHoklch(68.34% 0.104 115.2)
XYZxyz(27.0307, 32.6786, 12.8646)
Luminance0.3268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A152 #5C52A1
analogous
#A18352 #97A152 #6FA152
triadic
#97A152 #5297A1 #A15297
tetradic
#97A152 #52A183 #5C52A1 #A1526F
square
#97A152 #52A183 #5C52A1 #A1526F
split-complementary
#97A152 #526FA1 #8352A1
monochromatic
#4B5029 #71783D #97A152 #B1BA77 #C8CE9F

Accessibility & contrast

On white

2.79
#97A152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#97A152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A152
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A152#FFFFFF#000000##000000
##97A1521.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9A4B
Deuteranopia (green-blind)
#AA9C56
Tritanopia (blue-blind)
#9F998F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #97a152;
/* rgb */ color: rgb(151, 161, 82);
/* oklch */ color: oklch(68.3% 0.104 115.2);
Tailwind
colors: {
  custom: {
    50: '#b7bc84',
    500: '#97a152',
    950: '#000000',
  },
}
SCSS
$custom: #97a152;
$custom-light: #b7bc84;
$custom-dark: #000000;
JSON
{
  "hex": "#97a152",
  "rgb": {
    "r": 151,
    "g": 161,
    "b": 82
  },
  "hsl": {
    "h": 67.595,
    "s": 32.51,
    "l": 47.647
  },
  "oklch": {
    "l": 0.68337,
    "c": 0.10418,
    "h": 115.2
  },
  "luminance": 0.32678
}

Semantic roles & 50–950 ramp

primary
#97A152
secondary
#9993BB
accent
#5FC96C
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#11120B
muted
#80817C

Preview Lab

Preview with #97A152

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

Preview Lab → · Contrast checker → · Palette generator →

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