#97A222#97A222

#97A222 is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.1% C 0.143 H 114.7°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#97A222
RGBrgb(151, 162, 34)
HSLhsl(65, 65%, 38%)
HSVhsv(65, 79%, 64%)
CMYKcmyk(6.8%, 0%, 79%, 36.5%)
CIE-LABlab(63.78, -19.43, 59.69)
CIE-LCHlch(63.78, 62.78, 108.03°)
OKLaboklab(68.11% -0.0598 0.1303)
OKLCHoklch(68.11% 0.143 114.7)
XYZxyz(25.9723, 32.5360, 6.4249)
Luminance0.3253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A222 #2D22A2
analogous
#A26D22 #97A222 #57A222
triadic
#97A222 #2297A2 #A22297
tetradic
#97A222 #22A26D #2D22A2 #A22257
square
#97A222 #22A26D #2D22A2 #A22257
split-complementary
#97A222 #2257A2 #6D22A2
monochromatic
#393D0D #686F17 #97A222 #C5D32E #D3DE61

Accessibility & contrast

On white

2.80
#97A222 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#97A222 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A222
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A222#FFFFFF#000000##000000
##97A2221.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#AE9C2E
Tritanopia (blue-blind)
#A1988A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #97a222;
/* rgb */ color: rgb(151, 162, 34);
/* oklch */ color: oklch(68.1% 0.143 114.7);
Tailwind
colors: {
  custom: {
    50: '#b9bd69',
    500: '#97a222',
    950: '#000000',
  },
}
SCSS
$custom: #97a222;
$custom-light: #b9bd69;
$custom-dark: #000000;
JSON
{
  "hex": "#97a222",
  "rgb": {
    "r": 151,
    "g": 162,
    "b": 34
  },
  "hsl": {
    "h": 65.156,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.68114,
    "c": 0.14336,
    "h": 114.7
  },
  "luminance": 0.32535
}

Semantic roles & 50–950 ramp

primary
#97A222
secondary
#665DC3
accent
#40E84E
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #97A222

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

Preview Lab → · Contrast checker → · Palette generator →

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