#97A322#97A322

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

Color values

HEX#97A322
RGBrgb(151, 163, 34)
HSLhsl(66, 65%, 39%)
HSVhsv(66, 79%, 64%)
CMYKcmyk(7.4%, 0%, 79.1%, 36.1%)
CIE-LABlab(64.07, -19.94, 59.95)
CIE-LCHlch(64.07, 63.18, 108.40°)
OKLaboklab(68.35% -0.0612 0.1308)
OKLCHoklch(68.35% 0.144 115.1)
XYZxyz(26.1492, 32.8897, 6.4839)
Luminance0.3289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A322 #2E22A3
analogous
#A36E22 #97A322 #56A322
triadic
#97A322 #2297A3 #A32297
tetradic
#97A322 #22A36E #2E22A3 #A32256
square
#97A322 #22A36E #2E22A3 #A32256
split-complementary
#97A322 #2256A3 #6E22A3
monochromatic
#393E0D #687017 #97A322 #C4D42F #D2DE61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A322#FFFFFF#000000##000000
##97A3221.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)
#AF9A00
Deuteranopia (green-blind)
#AE9C2E
Tritanopia (blue-blind)
#A1998B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #97a322;
/* rgb */ color: rgb(151, 163, 34);
/* oklch */ color: oklch(68.3% 0.144 115.1);
Tailwind
colors: {
  custom: {
    50: '#b9be69',
    500: '#97a322',
    950: '#000000',
  },
}
SCSS
$custom: #97a322;
$custom-light: #b9be69;
$custom-dark: #000000;
JSON
{
  "hex": "#97a322",
  "rgb": {
    "r": 151,
    "g": 163,
    "b": 34
  },
  "hsl": {
    "h": 65.581,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.68345,
    "c": 0.14445,
    "h": 115.1
  },
  "luminance": 0.32889
}

Semantic roles & 50–950 ramp

primary
#97A322
secondary
#675EC3
accent
#3FE84F
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #97A322

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

Preview Lab → · Contrast checker → · Palette generator →

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