#97AA2B#97AA2B

#97AA2B 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#97AA2B
RGBrgb(151, 170, 43)
HSLhsl(69, 60%, 42%)
HSVhsv(69, 75%, 67%)
CMYKcmyk(11.2%, 0%, 74.7%, 33.3%)
CIE-LABlab(66.14, -23.05, 58.96)
CIE-LCHlch(66.14, 63.31, 111.35°)
OKLaboklab(70.02% -0.0691 0.1303)
OKLCHoklch(70.02% 0.148 117.9)
XYZxyz(27.5739, 35.5035, 7.6853)
Luminance0.3550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AA2B #3E2BAA
analogous
#AA7D2B #97AA2B #58AA2B
triadic
#97AA2B #2B97AA #AA2B97
tetradic
#97AA2B #2BAA7D #3E2BAA #AA2B58
square
#97AA2B #2BAA7D #3E2BAA #AA2B58
split-complementary
#97AA2B #2B58AA #7D2BAA
monochromatic
#404812 #6C791F #97AA2B #BACF43 #CCDC74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AA2B#FFFFFF#000000##000000
##97AA2B1.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)
#B6A00F
Deuteranopia (green-blind)
#B4A136
Tritanopia (blue-blind)
#A0A092
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #97aa2b;
/* rgb */ color: rgb(151, 170, 43);
/* oklch */ color: oklch(70.0% 0.147 117.9);
Tailwind
colors: {
  custom: {
    50: '#b9c36e',
    500: '#97aa2b',
    950: '#000000',
  },
}
SCSS
$custom: #97aa2b;
$custom-light: #b9c36e;
$custom-dark: #000000;
JSON
{
  "hex": "#97aa2b",
  "rgb": {
    "r": 151,
    "g": 170,
    "b": 43
  },
  "hsl": {
    "h": 68.976,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70021,
    "c": 0.1475,
    "h": 117.9
  },
  "luminance": 0.35503
}

Semantic roles & 50–950 ramp

primary
#97AA2B
secondary
#7A6EC3
accent
#45E35D
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #97AA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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