#97A328#97A328

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

Color values

HEX#97A328
RGBrgb(151, 163, 40)
HSLhsl(66, 61%, 40%)
HSVhsv(66, 75%, 64%)
CMYKcmyk(7.4%, 0%, 75.5%, 36.1%)
CIE-LABlab(64.10, -19.68, 58.06)
CIE-LCHlch(64.10, 61.31, 108.73°)
OKLaboklab(68.38% -0.06 0.1279)
OKLCHoklch(68.38% 0.141 115.1)
XYZxyz(26.2434, 32.9273, 6.9802)
Luminance0.3293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A328 #3428A3
analogous
#A37228 #97A328 #59A328
triadic
#97A328 #2897A3 #A32897
tetradic
#97A328 #28A372 #3428A3 #A32859
square
#97A328 #28A372 #3428A3 #A32859
split-complementary
#97A328 #2859A3 #7228A3
monochromatic
#3C4110 #69721C #97A328 #C0CF3A #D0DB6B

Accessibility & contrast

On white

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

On black

7.59
#97A328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A328
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A328#FFFFFF#000000##000000
##97A3281.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97a328;
/* rgb */ color: rgb(151, 163, 40);
/* oklch */ color: oklch(68.4% 0.141 115.1);
Tailwind
colors: {
  custom: {
    50: '#b9be6c',
    500: '#97a328',
    950: '#000000',
  },
}
SCSS
$custom: #97a328;
$custom-light: #b9be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#97a328",
  "rgb": {
    "r": 151,
    "g": 163,
    "b": 40
  },
  "hsl": {
    "h": 65.854,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68379,
    "c": 0.14128,
    "h": 115.1
  },
  "luminance": 0.32927
}

Semantic roles & 50–950 ramp

primary
#97A328
secondary
#6F66C1
accent
#44E454
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A328

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

Preview Lab → · Contrast checker → · Palette generator →

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