#97A534#97A534

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

Color values

HEX#97A534
RGBrgb(151, 165, 52)
HSLhsl(67, 52%, 43%)
HSVhsv(67, 68%, 65%)
CMYKcmyk(8.5%, 0%, 68.5%, 35.3%)
CIE-LABlab(64.75, -20.05, 54.27)
CIE-LCHlch(64.75, 57.86, 110.28°)
OKLaboklab(68.93% -0.0599 0.122)
OKLCHoklch(68.93% 0.136 116.2)
XYZxyz(26.8381, 33.7379, 8.3464)
Luminance0.3374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A534 #4234A5
analogous
#A57B34 #97A534 #5EA534
triadic
#97A534 #3497A5 #A53497
tetradic
#97A534 #34A57B #4234A5 #A5345E
square
#97A534 #34A57B #4234A5 #A5345E
split-complementary
#97A534 #345EA5 #7B34A5
monochromatic
#424817 #6C7625 #97A534 #B8C74F #CBD67D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A534#FFFFFF#000000##000000
##97A5341.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)
#B09C23
Deuteranopia (green-blind)
#AF9E3C
Tritanopia (blue-blind)
#A09C8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #97a534;
/* rgb */ color: rgb(151, 165, 52);
/* oklch */ color: oklch(68.9% 0.136 116.2);
Tailwind
colors: {
  custom: {
    50: '#b8bf72',
    500: '#97a534',
    950: '#000000',
  },
}
SCSS
$custom: #97a534;
$custom-light: #b8bf72;
$custom-dark: #000000;
JSON
{
  "hex": "#97a534",
  "rgb": {
    "r": 151,
    "g": 165,
    "b": 52
  },
  "hsl": {
    "h": 67.434,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68927,
    "c": 0.13589,
    "h": 116.2
  },
  "luminance": 0.33738
}

Semantic roles & 50–950 ramp

primary
#97A534
secondary
#7F76BF
accent
#4CDC5E
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A534

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

Preview Lab → · Contrast checker → · Palette generator →

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