#97A722#97A722

#97A722 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.3% C 0.149 H 116.7°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#97A722
RGBrgb(151, 167, 34)
HSLhsl(67, 66%, 39%)
HSVhsv(67, 80%, 65%)
CMYKcmyk(9.6%, 0%, 79.6%, 34.5%)
CIE-LABlab(65.23, -21.95, 60.99)
CIE-LCHlch(65.23, 64.82, 109.80°)
OKLaboklab(69.27% -0.0668 0.133)
OKLCHoklch(69.27% 0.149 116.7)
XYZxyz(26.8707, 34.3326, 6.7244)
Luminance0.3433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A722 #3222A7
analogous
#A77522 #97A722 #55A722
triadic
#97A722 #2297A7 #A72297
tetradic
#97A722 #22A775 #3222A7 #A72255
square
#97A722 #22A775 #3222A7 #A72255
split-complementary
#97A722 #2255A7 #7522A7
monochromatic
#3B410D #697418 #97A722 #C1D531 #D1DF64

Accessibility & contrast

On white

2.67
#97A722 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#97A722 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A722
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A722#FFFFFF#000000##000000
##97A7221.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B29F2F
Tritanopia (blue-blind)
#A19D8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #97a722;
/* rgb */ color: rgb(151, 167, 34);
/* oklch */ color: oklch(69.3% 0.149 116.7);
Tailwind
colors: {
  custom: {
    50: '#b9c16a',
    500: '#97a722',
    950: '#000000',
  },
}
SCSS
$custom: #97a722;
$custom-light: #b9c16a;
$custom-dark: #000000;
JSON
{
  "hex": "#97a722",
  "rgb": {
    "r": 151,
    "g": 167,
    "b": 34
  },
  "hsl": {
    "h": 67.218,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69272,
    "c": 0.14886,
    "h": 116.7
  },
  "luminance": 0.34332
}

Semantic roles & 50–950 ramp

primary
#97A722
secondary
#6C60C5
accent
#3FE953
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A722

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

Preview Lab → · Contrast checker → · Palette generator →

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