#97A22D#97A22D

#97A22D is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.2% C 0.137 H 114.8°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#97A22D
RGBrgb(151, 162, 45)
HSLhsl(66, 57%, 41%)
HSVhsv(66, 72%, 64%)
CMYKcmyk(6.8%, 0%, 72.2%, 36.5%)
CIE-LABlab(63.84, -18.93, 56.05)
CIE-LCHlch(63.84, 59.16, 108.66°)
OKLaboklab(68.18% -0.0575 0.1245)
OKLCHoklch(68.18% 0.137 114.8)
XYZxyz(26.1572, 32.6099, 7.3985)
Luminance0.3261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A22D #382DA2
analogous
#A2722D #97A22D #5CA22D
triadic
#97A22D #2D97A2 #A22D97
tetradic
#97A22D #2DA272 #382DA2 #A22D5C
square
#97A22D #2DA272 #382DA2 #A22D5C
split-complementary
#97A22D #2D5CA2 #722DA2
monochromatic
#3E4212 #6A7220 #97A22D #BECA42 #CED872

Accessibility & contrast

On white

2.79
#97A22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#97A22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A22D
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A22D#FFFFFF#000000##000000
##97A22D1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A18
Deuteranopia (green-blind)
#AD9C36
Tritanopia (blue-blind)
#A1988B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #97a22d;
/* rgb */ color: rgb(151, 162, 45);
/* oklch */ color: oklch(68.2% 0.137 114.8);
Tailwind
colors: {
  custom: {
    50: '#b9bd6e',
    500: '#97a22d',
    950: '#000000',
  },
}
SCSS
$custom: #97a22d;
$custom-light: #b9bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#97a22d",
  "rgb": {
    "r": 151,
    "g": 162,
    "b": 45
  },
  "hsl": {
    "h": 65.641,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68182,
    "c": 0.13715,
    "h": 114.8
  },
  "luminance": 0.32609
}

Semantic roles & 50–950 ramp

primary
#97A22D
secondary
#736CBF
accent
#48E056
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #97A22D

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

Preview Lab → · Contrast checker → · Palette generator →

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