#97A529#97A529

#97A529 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 68.8% C 0.143 H 116.0°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#97A529
RGBrgb(151, 165, 41)
HSLhsl(67, 60%, 40%)
HSVhsv(67, 75%, 65%)
CMYKcmyk(8.5%, 0%, 75.2%, 35.3%)
CIE-LABlab(64.68, -20.65, 58.27)
CIE-LCHlch(64.68, 61.82, 109.51°)
OKLaboklab(68.85% -0.0626 0.1285)
OKLCHoklch(68.85% 0.143 116)
XYZxyz(26.6186, 33.6501, 7.1903)
Luminance0.3365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A529 #3729A5
analogous
#A57529 #97A529 #59A529
triadic
#97A529 #2997A5 #A52997
tetradic
#97A529 #29A575 #3729A5 #A52959
square
#97A529 #29A575 #3729A5 #A52959
split-complementary
#97A529 #2959A5 #7529A5
monochromatic
#3D4311 #6A741D #97A529 #BECF3D #CFDB6E

Accessibility & contrast

On white

2.72
#97A529 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#97A529 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A529
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A529#FFFFFF#000000##000000
##97A5291.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C0D
Deuteranopia (green-blind)
#B09E34
Tritanopia (blue-blind)
#A19B8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #97a529;
/* rgb */ color: rgb(151, 165, 41);
/* oklch */ color: oklch(68.8% 0.143 116.0);
Tailwind
colors: {
  custom: {
    50: '#b9bf6d',
    500: '#97a529',
    950: '#000000',
  },
}
SCSS
$custom: #97a529;
$custom-light: #b9bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#97a529",
  "rgb": {
    "r": 151,
    "g": 165,
    "b": 41
  },
  "hsl": {
    "h": 66.774,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68848,
    "c": 0.14295,
    "h": 116
  },
  "luminance": 0.3365
}

Semantic roles & 50–950 ramp

primary
#97A529
secondary
#7268C2
accent
#44E356
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A529

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

Preview Lab → · Contrast checker → · Palette generator →

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