#97A22E#97A22E

#97A22E 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#97A22E
RGBrgb(151, 162, 46)
HSLhsl(66, 56%, 41%)
HSVhsv(66, 72%, 64%)
CMYKcmyk(6.8%, 0%, 71.6%, 36.5%)
CIE-LABlab(63.85, -18.87, 55.68)
CIE-LCHlch(63.85, 58.80, 108.72°)
OKLaboklab(68.19% -0.0572 0.1239)
OKLCHoklch(68.19% 0.137 114.8)
XYZxyz(26.1767, 32.6177, 7.5011)
Luminance0.3262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A22E #392EA2
analogous
#A2732E #97A22E #5DA22E
triadic
#97A22E #2E97A2 #A22E97
tetradic
#97A22E #2EA273 #392EA2 #A22E5D
square
#97A22E #2EA273 #392EA2 #A22E5D
split-complementary
#97A22E #2E5DA2 #732EA2
monochromatic
#3E4313 #6B7220 #97A22E #BDCA43 #CED773

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A22E#FFFFFF#000000##000000
##97A22E1.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)
#AE9A1A
Deuteranopia (green-blind)
#AD9C37
Tritanopia (blue-blind)
#A1988B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #97a22e;
/* rgb */ color: rgb(151, 162, 46);
/* oklch */ color: oklch(68.2% 0.137 114.8);
Tailwind
colors: {
  custom: {
    50: '#b9bd6f',
    500: '#97a22e',
    950: '#000000',
  },
}
SCSS
$custom: #97a22e;
$custom-light: #b9bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#97a22e",
  "rgb": {
    "r": 151,
    "g": 162,
    "b": 46
  },
  "hsl": {
    "h": 65.69,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68189,
    "c": 0.13651,
    "h": 114.8
  },
  "luminance": 0.32617
}

Semantic roles & 50–950 ramp

primary
#97A22E
secondary
#756DBF
accent
#49DF57
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #97A22E

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

Preview Lab → · Contrast checker → · Palette generator →

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