#97A442#97A442

#97A442 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 68.8% C 0.124 H 116.1°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#97A442
RGBrgb(151, 164, 66)
HSLhsl(68, 43%, 45%)
HSVhsv(68, 60%, 64%)
CMYKcmyk(7.9%, 0%, 59.8%, 35.7%)
CIE-LABlab(64.58, -18.57, 48.10)
CIE-LCHlch(64.58, 51.56, 111.11°)
OKLaboklab(68.83% -0.0543 0.111)
OKLCHoklch(68.83% 0.124 116.1)
XYZxyz(27.0218, 33.5239, 10.2005)
Luminance0.3352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A442 #4F42A4
analogous
#A48042 #97A442 #66A442
triadic
#97A442 #4297A4 #A44297
tetradic
#97A442 #42A480 #4F42A4 #A44266
square
#97A442 #42A480 #4F42A4 #A44266
split-complementary
#97A442 #4266A4 #8042A4
monochromatic
#474D1F #6F7830 #97A442 #B4C063 #C9D28F

Accessibility & contrast

On white

2.73
#97A442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#97A442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A442
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A442#FFFFFF#000000##000000
##97A4421.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C37
Deuteranopia (green-blind)
#AE9D48
Tritanopia (blue-blind)
#A09B8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #97a442;
/* rgb */ color: rgb(151, 164, 66);
/* oklch */ color: oklch(68.8% 0.124 116.1);
Tailwind
colors: {
  custom: {
    50: '#b8be7a',
    500: '#97a442',
    950: '#000000',
  },
}
SCSS
$custom: #97a442;
$custom-light: #b8be7a;
$custom-dark: #000000;
JSON
{
  "hex": "#97a442",
  "rgb": {
    "r": 151,
    "g": 164,
    "b": 66
  },
  "hsl": {
    "h": 67.959,
    "s": 42.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68827,
    "c": 0.12354,
    "h": 116.1
  },
  "luminance": 0.33524
}

Semantic roles & 50–950 ramp

primary
#97A442
secondary
#8C85BD
accent
#55D266
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #97A442

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

Preview Lab → · Contrast checker → · Palette generator →

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