#97A022#97A022

#97A022 is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.7% C 0.141 H 113.8°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#97A022
RGBrgb(151, 160, 34)
HSLhsl(64, 65%, 38%)
HSVhsv(64, 79%, 63%)
CMYKcmyk(5.6%, 0%, 78.8%, 37.3%)
CIE-LABlab(63.21, -18.42, 59.18)
CIE-LCHlch(63.21, 61.97, 107.29°)
OKLaboklab(67.65% -0.057 0.1292)
OKLCHoklch(67.65% 0.141 113.8)
XYZxyz(25.6228, 31.8369, 6.3084)
Luminance0.3184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A022 #2B22A0
analogous
#A06A22 #97A022 #58A022
triadic
#97A022 #2297A0 #A02297
tetradic
#97A022 #22A06A #2B22A0 #A02258
square
#97A022 #22A06A #2B22A0 #A02258
split-complementary
#97A022 #2258A0 #6A22A0
monochromatic
#383B0D #676E17 #97A022 #C7D22D #D4DD5F

Accessibility & contrast

On white

2.85
#97A022 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#97A022 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A022
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A022#FFFFFF#000000##000000
##97A0221.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AC9A2E
Tritanopia (blue-blind)
#A19689
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #97a022;
/* rgb */ color: rgb(151, 160, 34);
/* oklch */ color: oklch(67.7% 0.141 113.8);
Tailwind
colors: {
  custom: {
    50: '#b9bb69',
    500: '#97a022',
    950: '#000000',
  },
}
SCSS
$custom: #97a022;
$custom-light: #b9bb69;
$custom-dark: #000000;
JSON
{
  "hex": "#97a022",
  "rgb": {
    "r": 151,
    "g": 160,
    "b": 34
  },
  "hsl": {
    "h": 64.286,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.67652,
    "c": 0.1412,
    "h": 113.8
  },
  "luminance": 0.31836
}

Semantic roles & 50–950 ramp

primary
#97A022
secondary
#635CC2
accent
#40E84C
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #97A022

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

Preview Lab → · Contrast checker → · Palette generator →

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