#97AA2D#97AA2D

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

Color values

HEX#97AA2D
RGBrgb(151, 170, 45)
HSLhsl(69, 58%, 42%)
HSVhsv(69, 74%, 67%)
CMYKcmyk(11.2%, 0%, 73.5%, 33.3%)
CIE-LABlab(66.15, -22.95, 58.28)
CIE-LCHlch(66.15, 62.64, 111.49°)
OKLaboklab(70.03% -0.0686 0.1292)
OKLCHoklch(70.03% 0.146 118)
XYZxyz(27.6115, 35.5185, 7.8833)
Luminance0.3552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AA2D #402DAA
analogous
#AA7F2D #97AA2D #59AA2D
triadic
#97AA2D #2D97AA #AA2D97
tetradic
#97AA2D #2DAA7F #402DAA #AA2D59
square
#97AA2D #2DAA7F #402DAA #AA2D59
split-complementary
#97AA2D #2D59AA #7F2DAA
monochromatic
#414913 #6C7A20 #97AA2D #B9CE46 #CCDB77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AA2D#FFFFFF#000000##000000
##97AA2D1.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)
#B5A114
Deuteranopia (green-blind)
#B4A138
Tritanopia (blue-blind)
#A0A092
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #97aa2d;
/* rgb */ color: rgb(151, 170, 45);
/* oklch */ color: oklch(70.0% 0.146 118.0);
Tailwind
colors: {
  custom: {
    50: '#b9c36f',
    500: '#97aa2d',
    950: '#000000',
  },
}
SCSS
$custom: #97aa2d;
$custom-light: #b9c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#97aa2d",
  "rgb": {
    "r": 151,
    "g": 170,
    "b": 45
  },
  "hsl": {
    "h": 69.12,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70034,
    "c": 0.14632,
    "h": 118
  },
  "luminance": 0.35518
}

Semantic roles & 50–950 ramp

primary
#97AA2D
secondary
#7D70C3
accent
#46E15E
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97AA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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