#97A325#97A325

#97A325 is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.4% C 0.143 H 115.1°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#97A325
RGBrgb(151, 163, 37)
HSLhsl(66, 63%, 39%)
HSVhsv(66, 77%, 64%)
CMYKcmyk(7.4%, 0%, 77.3%, 36.1%)
CIE-LABlab(64.09, -19.82, 59.03)
CIE-LCHlch(64.09, 62.27, 108.56°)
OKLaboklab(68.36% -0.0607 0.1294)
OKLCHoklch(68.36% 0.143 115.1)
XYZxyz(26.1944, 32.9077, 6.7218)
Luminance0.3291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A325 #3125A3
analogous
#A37025 #97A325 #58A325
triadic
#97A325 #2597A3 #A32597
tetradic
#97A325 #25A370 #3125A3 #A32558
square
#97A325 #25A370 #3125A3 #A32558
split-complementary
#97A325 #2558A3 #7025A3
monochromatic
#3B3F0E #69711A #97A325 #C2D134 #D1DC66

Accessibility & contrast

On white

2.77
#97A325 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#97A325 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A325
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A325#FFFFFF#000000##000000
##97A3251.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A02
Deuteranopia (green-blind)
#AE9C30
Tritanopia (blue-blind)
#A1998C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #97a325;
/* rgb */ color: rgb(151, 163, 37);
/* oklch */ color: oklch(68.4% 0.143 115.1);
Tailwind
colors: {
  custom: {
    50: '#b9be6a',
    500: '#97a325',
    950: '#000000',
  },
}
SCSS
$custom: #97a325;
$custom-light: #b9be6a;
$custom-dark: #000000;
JSON
{
  "hex": "#97a325",
  "rgb": {
    "r": 151,
    "g": 163,
    "b": 37
  },
  "hsl": {
    "h": 65.714,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.68362,
    "c": 0.14292,
    "h": 115.1
  },
  "luminance": 0.32907
}

Semantic roles & 50–950 ramp

primary
#97A325
secondary
#6B62C2
accent
#42E651
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A325

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

Preview Lab → · Contrast checker → · Palette generator →

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