#97A821#97A821

#97A821 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.5% C 0.150 H 117.0°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#97A821
RGBrgb(151, 168, 33)
HSLhsl(68, 67%, 39%)
HSVhsv(68, 80%, 66%)
CMYKcmyk(10.1%, 0%, 80.4%, 34.1%)
CIE-LABlab(65.51, -22.49, 61.53)
CIE-LCHlch(65.51, 65.51, 110.08°)
OKLaboklab(69.5% -0.0683 0.134)
OKLCHoklch(69.5% 0.15 117)
XYZxyz(27.0404, 34.6947, 6.7108)
Luminance0.3469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A821 #3221A8
analogous
#A87621 #97A821 #53A821
triadic
#97A821 #2197A8 #A82197
tetradic
#97A821 #21A876 #3221A8 #A82153
square
#97A821 #21A876 #3221A8 #A82153
split-complementary
#97A821 #2153A8 #7621A8
monochromatic
#3B420D #697517 #97A821 #C1D630 #D1E063

Accessibility & contrast

On white

2.65
#97A821 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#97A821 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A821
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A821#FFFFFF#000000##000000
##97A8211.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B2A02F
Tritanopia (blue-blind)
#A19E90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #97a821;
/* rgb */ color: rgb(151, 168, 33);
/* oklch */ color: oklch(69.5% 0.150 117.0);
Tailwind
colors: {
  custom: {
    50: '#b9c169',
    500: '#97a821',
    950: '#000000',
  },
}
SCSS
$custom: #97a821;
$custom-light: #b9c169;
$custom-dark: #000000;
JSON
{
  "hex": "#97a821",
  "rgb": {
    "r": 151,
    "g": 168,
    "b": 33
  },
  "hsl": {
    "h": 67.556,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.695,
    "c": 0.15044,
    "h": 117
  },
  "luminance": 0.34694
}

Semantic roles & 50–950 ramp

primary
#97A821
secondary
#6C5FC5
accent
#3EEA53
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A821

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

Preview Lab → · Contrast checker → · Palette generator →

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