#97A622#97A622

#97A622 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.0% C 0.148 H 116.3°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#97A622
RGBrgb(151, 166, 34)
HSLhsl(67, 66%, 39%)
HSVhsv(67, 80%, 65%)
CMYKcmyk(9%, 0%, 79.5%, 34.9%)
CIE-LABlab(64.94, -21.45, 60.73)
CIE-LCHlch(64.94, 64.41, 109.45°)
OKLaboklab(69.04% -0.0654 0.1325)
OKLCHoklch(69.04% 0.148 116.3)
XYZxyz(26.6882, 33.9676, 6.6636)
Luminance0.3397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A622 #3122A6
analogous
#A67322 #97A622 #55A622
triadic
#97A622 #2297A6 #A62297
tetradic
#97A622 #22A673 #3122A6 #A62255
square
#97A622 #22A673 #3122A6 #A62255
split-complementary
#97A622 #2255A6 #7322A6
monochromatic
#3B400D #697318 #97A622 #C2D530 #D1DF63

Accessibility & contrast

On white

2.69
#97A622 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#97A622 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A622
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A622#FFFFFF#000000##000000
##97A6221.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B19E2F
Tritanopia (blue-blind)
#A19C8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #97a622;
/* rgb */ color: rgb(151, 166, 34);
/* oklch */ color: oklch(69.0% 0.148 116.3);
Tailwind
colors: {
  custom: {
    50: '#b9c06a',
    500: '#97a622',
    950: '#000000',
  },
}
SCSS
$custom: #97a622;
$custom-light: #b9c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#97a622",
  "rgb": {
    "r": 151,
    "g": 166,
    "b": 34
  },
  "hsl": {
    "h": 66.818,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.6904,
    "c": 0.14775,
    "h": 116.3
  },
  "luminance": 0.33967
}

Semantic roles & 50–950 ramp

primary
#97A622
secondary
#6B5FC4
accent
#3FE952
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A622

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

Preview Lab → · Contrast checker → · Palette generator →

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