#97A22A#97A22A

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

Color values

HEX#97A22A
RGBrgb(151, 162, 42)
HSLhsl(66, 59%, 40%)
HSVhsv(66, 74%, 64%)
CMYKcmyk(6.8%, 0%, 74.1%, 36.5%)
CIE-LABlab(63.83, -19.08, 57.11)
CIE-LCHlch(63.83, 60.21, 108.47°)
OKLaboklab(68.16% -0.0582 0.1262)
OKLCHoklch(68.16% 0.139 114.7)
XYZxyz(26.1015, 32.5876, 7.1051)
Luminance0.3259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A22A #352AA2
analogous
#A2712A #97A22A #5BA22A
triadic
#97A22A #2A97A2 #A22A97
tetradic
#97A22A #2AA271 #352AA2 #A22A5B
square
#97A22A #2AA271 #352AA2 #A22A5B
split-complementary
#97A22A #2A5BA2 #712AA2
monochromatic
#3C4111 #6A711D #97A22A #BFCD3D #CFD96D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A22A#FFFFFF#000000##000000
##97A22A1.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)
#AE9A11
Deuteranopia (green-blind)
#AD9C34
Tritanopia (blue-blind)
#A1988B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #97a22a;
/* rgb */ color: rgb(151, 162, 42);
/* oklch */ color: oklch(68.2% 0.139 114.7);
Tailwind
colors: {
  custom: {
    50: '#b9bd6d',
    500: '#97a22a',
    950: '#000000',
  },
}
SCSS
$custom: #97a22a;
$custom-light: #b9bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#97a22a",
  "rgb": {
    "r": 151,
    "g": 162,
    "b": 42
  },
  "hsl": {
    "h": 65.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.68161,
    "c": 0.139,
    "h": 114.7
  },
  "luminance": 0.32587
}

Semantic roles & 50–950 ramp

primary
#97A22A
secondary
#7068C0
accent
#46E254
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A22A

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

Preview Lab → · Contrast checker → · Palette generator →

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