#97A22C#97A22C

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

Color values

HEX#97A22C
RGBrgb(151, 162, 44)
HSLhsl(66, 57%, 40%)
HSVhsv(66, 73%, 64%)
CMYKcmyk(6.8%, 0%, 72.8%, 36.5%)
CIE-LABlab(63.84, -18.98, 56.41)
CIE-LCHlch(63.84, 59.52, 108.60°)
OKLaboklab(68.18% -0.0577 0.1251)
OKLCHoklch(68.18% 0.138 114.8)
XYZxyz(26.1382, 32.6023, 7.2983)
Luminance0.3260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A22C #372CA2
analogous
#A2722C #97A22C #5CA22C
triadic
#97A22C #2C97A2 #A22C97
tetradic
#97A22C #2CA272 #372CA2 #A22C5C
square
#97A22C #2CA272 #372CA2 #A22C5C
split-complementary
#97A22C #2C5CA2 #722CA2
monochromatic
#3D4212 #6A721F #97A22C #BECB40 #CFD870

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A22C#FFFFFF#000000##000000
##97A22C1.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)
#AE9A16
Deuteranopia (green-blind)
#AD9C36
Tritanopia (blue-blind)
#A1988B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #97a22c;
/* rgb */ color: rgb(151, 162, 44);
/* oklch */ color: oklch(68.2% 0.138 114.8);
Tailwind
colors: {
  custom: {
    50: '#b9bd6e',
    500: '#97a22c',
    950: '#000000',
  },
}
SCSS
$custom: #97a22c;
$custom-light: #b9bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#97a22c",
  "rgb": {
    "r": 151,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 65.593,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68175,
    "c": 0.13778,
    "h": 114.8
  },
  "luminance": 0.32602
}

Semantic roles & 50–950 ramp

primary
#97A22C
secondary
#726ABF
accent
#47E156
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #97A22C

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

Preview Lab → · Contrast checker → · Palette generator →

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