#97A22F#97A22F

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

Color values

HEX#97A22F
RGBrgb(151, 162, 47)
HSLhsl(66, 55%, 41%)
HSVhsv(66, 71%, 64%)
CMYKcmyk(6.8%, 0%, 71%, 36.5%)
CIE-LABlab(63.86, -18.82, 55.31)
CIE-LCHlch(63.86, 58.43, 108.79°)
OKLaboklab(68.2% -0.057 0.1233)
OKLCHoklch(68.2% 0.136 114.8)
XYZxyz(26.1966, 32.6257, 7.6062)
Luminance0.3262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A22F #3A2FA2
analogous
#A2732F #97A22F #5DA22F
triadic
#97A22F #2F97A2 #A22F97
tetradic
#97A22F #2FA273 #3A2FA2 #A22F5D
square
#97A22F #2FA273 #3A2FA2 #A22F5D
split-complementary
#97A22F #2F5DA2 #732FA2
monochromatic
#3F4313 #6B7321 #97A22F #BCC945 #CDD775

Accessibility & contrast

On white

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

On black

7.53
#97A22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A22F
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A22F#FFFFFF#000000##000000
##97A22F1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97a22f;
/* rgb */ color: rgb(151, 162, 47);
/* oklch */ color: oklch(68.2% 0.136 114.8);
Tailwind
colors: {
  custom: {
    50: '#b9bd6f',
    500: '#97a22f',
    950: '#000000',
  },
}
SCSS
$custom: #97a22f;
$custom-light: #b9bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#97a22f",
  "rgb": {
    "r": 151,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 65.739,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68196,
    "c": 0.13585,
    "h": 114.8
  },
  "luminance": 0.32625
}

Semantic roles & 50–950 ramp

primary
#97A22F
secondary
#766EBF
accent
#49DE58
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A22F

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

Preview Lab → · Contrast checker → · Palette generator →

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