#97AA2E#97AA2E

#97AA2E 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.11:1 contrast (WCAG AA passes).

Color values

HEX#97AA2E
RGBrgb(151, 170, 46)
HSLhsl(69, 57%, 42%)
HSVhsv(69, 73%, 67%)
CMYKcmyk(11.2%, 0%, 72.9%, 33.3%)
CIE-LABlab(66.16, -22.90, 57.93)
CIE-LCHlch(66.16, 62.29, 111.57°)
OKLaboklab(70.04% -0.0684 0.1287)
OKLCHoklch(70.04% 0.146 118)
XYZxyz(27.6310, 35.5263, 7.9859)
Luminance0.3553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AA2E #412EAA
analogous
#AA7F2E #97AA2E #59AA2E
triadic
#97AA2E #2E97AA #AA2E97
tetradic
#97AA2E #2EAA7F #412EAA #AA2E59
square
#97AA2E #2EAA7F #412EAA #AA2E59
split-complementary
#97AA2E #2E59AA #7F2EAA
monochromatic
#414A14 #6C7A21 #97AA2E #B9CD48 #CBDA78

Accessibility & contrast

On white

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

On black

8.11
#97AA2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AA2E
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AA2E#FFFFFF#000000##000000
##97AA2E1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97aa2e;
/* rgb */ color: rgb(151, 170, 46);
/* oklch */ color: oklch(70.0% 0.146 118.0);
Tailwind
colors: {
  custom: {
    50: '#b9c370',
    500: '#97aa2e',
    950: '#000000',
  },
}
SCSS
$custom: #97aa2e;
$custom-light: #b9c370;
$custom-dark: #000000;
JSON
{
  "hex": "#97aa2e",
  "rgb": {
    "r": 151,
    "g": 170,
    "b": 46
  },
  "hsl": {
    "h": 69.194,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70041,
    "c": 0.14571,
    "h": 118
  },
  "luminance": 0.35526
}

Semantic roles & 50–950 ramp

primary
#97AA2E
secondary
#7E71C3
accent
#47E15F
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97AA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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