#97A421#97A421

#97A421 is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.6% C 0.146 H 115.5°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#97A421
RGBrgb(151, 164, 33)
HSLhsl(66, 66%, 39%)
HSVhsv(66, 80%, 64%)
CMYKcmyk(7.9%, 0%, 79.9%, 35.7%)
CIE-LABlab(64.36, -20.49, 60.50)
CIE-LCHlch(64.36, 63.88, 108.70°)
OKLaboklab(68.57% -0.0628 0.1318)
OKLCHoklch(68.57% 0.146 115.5)
XYZxyz(26.3132, 33.2405, 6.4685)
Luminance0.3324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A421 #2E21A4
analogous
#A46F21 #97A421 #55A421
triadic
#97A421 #2197A4 #A42197
tetradic
#97A421 #21A46F #2E21A4 #A42155
square
#97A421 #21A46F #2E21A4 #A42155
split-complementary
#97A421 #2155A4 #6F21A4
monochromatic
#393E0C #687117 #97A421 #C4D52D #D2DF60

Accessibility & contrast

On white

2.75
#97A421 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#97A421 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A421
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A421#FFFFFF#000000##000000
##97A4211.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#AF9D2E
Tritanopia (blue-blind)
#A19A8C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #97a421;
/* rgb */ color: rgb(151, 164, 33);
/* oklch */ color: oklch(68.6% 0.146 115.5);
Tailwind
colors: {
  custom: {
    50: '#b9be69',
    500: '#97a421',
    950: '#000000',
  },
}
SCSS
$custom: #97a421;
$custom-light: #b9be69;
$custom-dark: #000000;
JSON
{
  "hex": "#97a421",
  "rgb": {
    "r": 151,
    "g": 164,
    "b": 33
  },
  "hsl": {
    "h": 65.954,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.68571,
    "c": 0.14602,
    "h": 115.5
  },
  "luminance": 0.3324
}

Semantic roles & 50–950 ramp

primary
#97A421
secondary
#675DC4
accent
#3EE94F
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #97A421

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

Preview Lab → · Contrast checker → · Palette generator →

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