#97A535#97A535

#97A535 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 68.9% C 0.135 H 116.2°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#97A535
RGBrgb(151, 165, 53)
HSLhsl(68, 51%, 43%)
HSVhsv(68, 68%, 65%)
CMYKcmyk(8.5%, 0%, 67.9%, 35.3%)
CIE-LABlab(64.76, -19.99, 53.88)
CIE-LCHlch(64.76, 57.47, 110.36°)
OKLaboklab(68.94% -0.0597 0.1213)
OKLCHoklch(68.94% 0.135 116.2)
XYZxyz(26.8609, 33.7470, 8.4663)
Luminance0.3375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A535 #4335A5
analogous
#A57B35 #97A535 #5FA535
triadic
#97A535 #3597A5 #A53597
tetradic
#97A535 #35A57B #4335A5 #A5355F
square
#97A535 #35A57B #4335A5 #A5355F
split-complementary
#97A535 #355FA5 #7B35A5
monochromatic
#424817 #6D7726 #97A535 #B8C750 #CBD67F

Accessibility & contrast

On white

2.71
#97A535 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#97A535 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A535
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A535#FFFFFF#000000##000000
##97A5351.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D25
Deuteranopia (green-blind)
#AF9E3D
Tritanopia (blue-blind)
#A09C8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #97a535;
/* rgb */ color: rgb(151, 165, 53);
/* oklch */ color: oklch(68.9% 0.135 116.2);
Tailwind
colors: {
  custom: {
    50: '#b8bf73',
    500: '#97a535',
    950: '#000000',
  },
}
SCSS
$custom: #97a535;
$custom-light: #b8bf73;
$custom-dark: #000000;
JSON
{
  "hex": "#97a535",
  "rgb": {
    "r": 151,
    "g": 165,
    "b": 53
  },
  "hsl": {
    "h": 67.5,
    "s": 51.376,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68935,
    "c": 0.13517,
    "h": 116.2
  },
  "luminance": 0.33747
}

Semantic roles & 50–950 ramp

primary
#97A535
secondary
#8077BF
accent
#4DDB5F
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A535

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

Preview Lab → · Contrast checker → · Palette generator →

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