#97AA2A#97AA2A

#97AA2A is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.0% C 0.148 H 117.9°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#97AA2A
RGBrgb(151, 170, 42)
HSLhsl(69, 60%, 42%)
HSVhsv(69, 75%, 67%)
CMYKcmyk(11.2%, 0%, 75.3%, 33.3%)
CIE-LABlab(66.13, -23.10, 59.30)
CIE-LCHlch(66.13, 63.64, 111.28°)
OKLaboklab(70.02% -0.0693 0.1309)
OKLCHoklch(70.02% 0.148 117.9)
XYZxyz(27.5558, 35.4962, 7.5899)
Luminance0.3550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AA2A #3D2AAA
analogous
#AA7D2A #97AA2A #57AA2A
triadic
#97AA2A #2A97AA #AA2A97
tetradic
#97AA2A #2AAA7D #3D2AAA #AA2A57
square
#97AA2A #2AAA7D #3D2AAA #AA2A57
split-complementary
#97AA2A #2A57AA #7D2AAA
monochromatic
#404812 #6B791E #97AA2A #BBD041 #CCDC72

Accessibility & contrast

On white

2.59
#97AA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#97AA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AA2A
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AA2A#FFFFFF#000000##000000
##97AA2A1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A00C
Deuteranopia (green-blind)
#B4A135
Tritanopia (blue-blind)
#A0A092
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #97aa2a;
/* rgb */ color: rgb(151, 170, 42);
/* oklch */ color: oklch(70.0% 0.148 117.9);
Tailwind
colors: {
  custom: {
    50: '#b9c36e',
    500: '#97aa2a',
    950: '#000000',
  },
}
SCSS
$custom: #97aa2a;
$custom-light: #b9c36e;
$custom-dark: #000000;
JSON
{
  "hex": "#97aa2a",
  "rgb": {
    "r": 151,
    "g": 170,
    "b": 42
  },
  "hsl": {
    "h": 68.906,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70015,
    "c": 0.14808,
    "h": 117.9
  },
  "luminance": 0.35496
}

Semantic roles & 50–950 ramp

primary
#97AA2A
secondary
#796CC3
accent
#44E45C
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #97AA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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