#97AA2F#97AA2F

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

Color values

HEX#97AA2F
RGBrgb(151, 170, 47)
HSLhsl(69, 57%, 43%)
HSVhsv(69, 72%, 67%)
CMYKcmyk(11.2%, 0%, 72.4%, 33.3%)
CIE-LABlab(66.16, -22.84, 57.58)
CIE-LCHlch(66.16, 61.94, 111.64°)
OKLaboklab(70.05% -0.0682 0.1281)
OKLCHoklch(70.05% 0.145 118)
XYZxyz(27.6509, 35.5343, 8.0909)
Luminance0.3553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AA2F #422FAA
analogous
#AA7F2F #97AA2F #5AAA2F
triadic
#97AA2F #2F97AA #AA2F97
tetradic
#97AA2F #2FAA7F #422FAA #AA2F5A
square
#97AA2F #2FAA7F #422FAA #AA2F5A
split-complementary
#97AA2F #2F5AAA #7F2FAA
monochromatic
#424A14 #6C7A22 #97AA2F #B8CD49 #CBDA79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AA2F#FFFFFF#000000##000000
##97AA2F1.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)
#B5A118
Deuteranopia (green-blind)
#B3A139
Tritanopia (blue-blind)
#A0A192
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #97aa2f;
/* rgb */ color: rgb(151, 170, 47);
/* oklch */ color: oklch(70.0% 0.145 118.0);
Tailwind
colors: {
  custom: {
    50: '#b9c370',
    500: '#97aa2f',
    950: '#000000',
  },
}
SCSS
$custom: #97aa2f;
$custom-light: #b9c370;
$custom-dark: #000000;
JSON
{
  "hex": "#97aa2f",
  "rgb": {
    "r": 151,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 69.268,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70048,
    "c": 0.14509,
    "h": 118
  },
  "luminance": 0.35534
}

Semantic roles & 50–950 ramp

primary
#97AA2F
secondary
#7F72C2
accent
#48E05F
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97AA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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