#97A336#97A336

#97A336 is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.5% C 0.132 H 115.3°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#97A336
RGBrgb(151, 163, 54)
HSLhsl(67, 50%, 43%)
HSVhsv(67, 67%, 64%)
CMYKcmyk(7.4%, 0%, 66.9%, 36.1%)
CIE-LABlab(64.19, -18.91, 52.89)
CIE-LCHlch(64.19, 56.17, 109.68°)
OKLaboklab(68.48% -0.0565 0.1194)
OKLCHoklch(68.48% 0.132 115.3)
XYZxyz(26.5262, 33.0404, 8.4694)
Luminance0.3304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A336 #4236A3
analogous
#A37936 #97A336 #60A336
triadic
#97A336 #3697A3 #A33697
tetradic
#97A336 #36A379 #4236A3 #A33660
square
#97A336 #36A379 #4236A3 #A33660
split-complementary
#97A336 #3660A3 #7936A3
monochromatic
#424718 #6C7527 #97A336 #B8C551 #CBD57F

Accessibility & contrast

On white

2.76
#97A336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#97A336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A336
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A336#FFFFFF#000000##000000
##97A3361.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B27
Deuteranopia (green-blind)
#AD9C3E
Tritanopia (blue-blind)
#A09A8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #97a336;
/* rgb */ color: rgb(151, 163, 54);
/* oklch */ color: oklch(68.5% 0.132 115.3);
Tailwind
colors: {
  custom: {
    50: '#b8be73',
    500: '#97a336',
    950: '#000000',
  },
}
SCSS
$custom: #97a336;
$custom-light: #b8be73;
$custom-dark: #000000;
JSON
{
  "hex": "#97a336",
  "rgb": {
    "r": 151,
    "g": 163,
    "b": 54
  },
  "hsl": {
    "h": 66.606,
    "s": 50.23,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68482,
    "c": 0.13209,
    "h": 115.3
  },
  "luminance": 0.3304
}

Semantic roles & 50–950 ramp

primary
#97A336
secondary
#7F77BE
accent
#4EDA5D
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A336

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

Preview Lab → · Contrast checker → · Palette generator →

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