#97A335#97A335

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

Color values

HEX#97A335
RGBrgb(151, 163, 53)
HSLhsl(67, 51%, 42%)
HSVhsv(67, 67%, 64%)
CMYKcmyk(7.4%, 0%, 67.5%, 36.1%)
CIE-LABlab(64.19, -18.98, 53.29)
CIE-LCHlch(64.19, 56.57, 109.60°)
OKLaboklab(68.47% -0.0568 0.1201)
OKLCHoklch(68.47% 0.133 115.3)
XYZxyz(26.5029, 33.0312, 8.3470)
Luminance0.3303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A335 #4135A3
analogous
#A37835 #97A335 #60A335
triadic
#97A335 #3597A3 #A33597
tetradic
#97A335 #35A378 #4135A3 #A33560
square
#97A335 #35A378 #4135A3 #A33560
split-complementary
#97A335 #3560A3 #7835A3
monochromatic
#414717 #6C7526 #97A335 #B9C64F #CBD57E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A335#FFFFFF#000000##000000
##97A3351.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)
#AE9B25
Deuteranopia (green-blind)
#AE9C3D
Tritanopia (blue-blind)
#A19A8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #97a335;
/* rgb */ color: rgb(151, 163, 53);
/* oklch */ color: oklch(68.5% 0.133 115.3);
Tailwind
colors: {
  custom: {
    50: '#b8be73',
    500: '#97a335',
    950: '#000000',
  },
}
SCSS
$custom: #97a335;
$custom-light: #b8be73;
$custom-dark: #000000;
JSON
{
  "hex": "#97a335",
  "rgb": {
    "r": 151,
    "g": 163,
    "b": 53
  },
  "hsl": {
    "h": 66.545,
    "s": 50.926,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68474,
    "c": 0.13282,
    "h": 115.3
  },
  "luminance": 0.33031
}

Semantic roles & 50–950 ramp

primary
#97A335
secondary
#7E76BE
accent
#4DDA5D
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A335

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

Preview Lab → · Contrast checker → · Palette generator →

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