#97A342#97A342

#97A342 is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.6% C 0.122 H 115.6°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#97A342
RGBrgb(151, 163, 66)
HSLhsl(67, 42%, 45%)
HSVhsv(67, 60%, 64%)
CMYKcmyk(7.4%, 0%, 59.5%, 36.1%)
CIE-LABlab(64.30, -18.06, 47.78)
CIE-LCHlch(64.30, 51.08, 110.70°)
OKLaboklab(68.6% -0.0529 0.1103)
OKLCHoklch(68.6% 0.122 115.6)
XYZxyz(26.8436, 33.1674, 10.1410)
Luminance0.3317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A342 #4E42A3
analogous
#A37F42 #97A342 #66A342
triadic
#97A342 #4297A3 #A34297
tetradic
#97A342 #42A37F #4E42A3 #A34266
square
#97A342 #42A37F #4E42A3 #A34266
split-complementary
#97A342 #4266A3 #7F42A3
monochromatic
#464C1F #6F7730 #97A342 #B4C063 #C9D18E

Accessibility & contrast

On white

2.75
#97A342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#97A342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A342
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A342#FFFFFF#000000##000000
##97A3421.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B37
Deuteranopia (green-blind)
#AD9D48
Tritanopia (blue-blind)
#A09A8E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #97a342;
/* rgb */ color: rgb(151, 163, 66);
/* oklch */ color: oklch(68.6% 0.122 115.6);
Tailwind
colors: {
  custom: {
    50: '#b8be7a',
    500: '#97a342',
    950: '#000000',
  },
}
SCSS
$custom: #97a342;
$custom-light: #b8be7a;
$custom-dark: #000000;
JSON
{
  "hex": "#97a342",
  "rgb": {
    "r": 151,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 67.423,
    "s": 42.358,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68597,
    "c": 0.1223,
    "h": 115.6
  },
  "luminance": 0.33167
}

Semantic roles & 50–950 ramp

primary
#97A342
secondary
#8B84BC
accent
#56D265
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #97A342

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

Preview Lab → · Contrast checker → · Palette generator →

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