#97AA2C#97AA2C

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

Color values

HEX#97AA2C
RGBrgb(151, 170, 44)
HSLhsl(69, 59%, 42%)
HSVhsv(69, 74%, 67%)
CMYKcmyk(11.2%, 0%, 74.1%, 33.3%)
CIE-LABlab(66.14, -23.00, 58.63)
CIE-LCHlch(66.14, 62.98, 111.42°)
OKLaboklab(70.03% -0.0689 0.1298)
OKLCHoklch(70.03% 0.147 117.9)
XYZxyz(27.5925, 35.5109, 7.7831)
Luminance0.3551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AA2C #3F2CAA
analogous
#AA7E2C #97AA2C #58AA2C
triadic
#97AA2C #2C97AA #AA2C97
tetradic
#97AA2C #2CAA7E #3F2CAA #AA2C58
square
#97AA2C #2CAA7E #3F2CAA #AA2C58
split-complementary
#97AA2C #2C58AA #7E2CAA
monochromatic
#414913 #6C791F #97AA2C #BACF44 #CCDB75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AA2C#FFFFFF#000000##000000
##97AA2C1.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)
#B6A112
Deuteranopia (green-blind)
#B4A137
Tritanopia (blue-blind)
#A0A092
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #97aa2c;
/* rgb */ color: rgb(151, 170, 44);
/* oklch */ color: oklch(70.0% 0.147 117.9);
Tailwind
colors: {
  custom: {
    50: '#b9c36f',
    500: '#97aa2c',
    950: '#000000',
  },
}
SCSS
$custom: #97aa2c;
$custom-light: #b9c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#97aa2c",
  "rgb": {
    "r": 151,
    "g": 170,
    "b": 44
  },
  "hsl": {
    "h": 69.048,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70028,
    "c": 0.14692,
    "h": 117.9
  },
  "luminance": 0.35511
}

Semantic roles & 50–950 ramp

primary
#97AA2C
secondary
#7C6FC3
accent
#46E25D
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97AA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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