#97A822#97A822

#97A822 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#97A822
RGBrgb(151, 168, 34)
HSLhsl(68, 66%, 40%)
HSVhsv(68, 80%, 66%)
CMYKcmyk(10.1%, 0%, 79.8%, 34.1%)
CIE-LABlab(65.51, -22.45, 61.25)
CIE-LCHlch(65.51, 65.23, 110.13°)
OKLaboklab(69.51% -0.0682 0.1336)
OKLCHoklch(69.51% 0.15 117)
XYZxyz(27.0546, 34.7004, 6.7857)
Luminance0.3470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A822 #3322A8
analogous
#A87622 #97A822 #54A822
triadic
#97A822 #2297A8 #A82297
tetradic
#97A822 #22A876 #3322A8 #A82254
square
#97A822 #22A876 #3322A8 #A82254
split-complementary
#97A822 #2254A8 #7622A8
monochromatic
#3C420D #697518 #97A822 #C1D532 #D0E065

Accessibility & contrast

On white

2.64
#97A822 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A822#FFFFFF#000000##000000
##97A8221.002.647.947.94
#FFFFFF2.641.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: #97a822;
/* rgb */ color: rgb(151, 168, 34);
/* oklch */ color: oklch(69.5% 0.150 117.0);
Tailwind
colors: {
  custom: {
    50: '#b9c16a',
    500: '#97a822',
    950: '#000000',
  },
}
SCSS
$custom: #97a822;
$custom-light: #b9c16a;
$custom-dark: #000000;
JSON
{
  "hex": "#97a822",
  "rgb": {
    "r": 151,
    "g": 168,
    "b": 34
  },
  "hsl": {
    "h": 67.612,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.69505,
    "c": 0.14997,
    "h": 117
  },
  "luminance": 0.347
}

Semantic roles & 50–950 ramp

primary
#97A822
secondary
#6D61C5
accent
#3FE954
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A822

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

Preview Lab → · Contrast checker → · Palette generator →

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