#97A422#97A422

#97A422 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#97A422
RGBrgb(151, 164, 34)
HSLhsl(66, 66%, 39%)
HSVhsv(66, 79%, 64%)
CMYKcmyk(7.9%, 0%, 79.3%, 35.7%)
CIE-LABlab(64.36, -20.45, 60.21)
CIE-LCHlch(64.36, 63.59, 108.76°)
OKLaboklab(68.58% -0.0626 0.1314)
OKLCHoklch(68.58% 0.146 115.5)
XYZxyz(26.3274, 33.2462, 6.5433)
Luminance0.3325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A422 #2F22A4
analogous
#A47022 #97A422 #56A422
triadic
#97A422 #2297A4 #A42297
tetradic
#97A422 #22A470 #2F22A4 #A42256
square
#97A422 #22A470 #2F22A4 #A42256
split-complementary
#97A422 #2256A4 #7022A4
monochromatic
#3A3F0D #687117 #97A422 #C3D42F #D2DE62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A422#FFFFFF#000000##000000
##97A4221.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: #97a422;
/* rgb */ color: rgb(151, 164, 34);
/* oklch */ color: oklch(68.6% 0.146 115.5);
Tailwind
colors: {
  custom: {
    50: '#b9be69',
    500: '#97a422',
    950: '#000000',
  },
}
SCSS
$custom: #97a422;
$custom-light: #b9be69;
$custom-dark: #000000;
JSON
{
  "hex": "#97a422",
  "rgb": {
    "r": 151,
    "g": 164,
    "b": 34
  },
  "hsl": {
    "h": 66,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.68577,
    "c": 0.14555,
    "h": 115.5
  },
  "luminance": 0.33246
}

Semantic roles & 50–950 ramp

primary
#97A422
secondary
#685EC4
accent
#3FE950
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #97A422

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

Preview Lab → · Contrast checker → · Palette generator →

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