#97A321#97A321

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

Color values

HEX#97A321
RGBrgb(151, 163, 33)
HSLhsl(66, 66%, 38%)
HSVhsv(66, 80%, 64%)
CMYKcmyk(7.4%, 0%, 79.8%, 36.1%)
CIE-LABlab(64.07, -19.98, 60.25)
CIE-LCHlch(64.07, 63.47, 108.35°)
OKLaboklab(68.34% -0.0614 0.1313)
OKLCHoklch(68.34% 0.145 115.1)
XYZxyz(26.1350, 32.8840, 6.4090)
Luminance0.3288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A321 #2D21A3
analogous
#A36E21 #97A321 #56A321
triadic
#97A321 #2197A3 #A32197
tetradic
#97A321 #21A36E #2D21A3 #A32156
square
#97A321 #21A36E #2D21A3 #A32156
split-complementary
#97A321 #2156A3 #6E21A3
monochromatic
#393D0C #687017 #97A321 #C5D42D #D3DF60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A321#FFFFFF#000000##000000
##97A3211.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: #97a321;
/* rgb */ color: rgb(151, 163, 33);
/* oklch */ color: oklch(68.3% 0.145 115.1);
Tailwind
colors: {
  custom: {
    50: '#b9be69',
    500: '#97a321',
    950: '#000000',
  },
}
SCSS
$custom: #97a321;
$custom-light: #b9be69;
$custom-dark: #000000;
JSON
{
  "hex": "#97a321",
  "rgb": {
    "r": 151,
    "g": 163,
    "b": 33
  },
  "hsl": {
    "h": 65.538,
    "s": 66.327,
    "l": 38.431
  },
  "oklch": {
    "l": 0.6834,
    "c": 0.14493,
    "h": 115.1
  },
  "luminance": 0.32884
}

Semantic roles & 50–950 ramp

primary
#97A321
secondary
#665CC3
accent
#3FE94E
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #97A321

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

Preview Lab → · Contrast checker → · Palette generator →

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