#97AA27#97AA27

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

Color values

HEX#97AA27
RGBrgb(151, 170, 39)
HSLhsl(69, 63%, 41%)
HSVhsv(69, 77%, 67%)
CMYKcmyk(11.2%, 0%, 77.1%, 33.3%)
CIE-LABlab(66.12, -23.24, 60.27)
CIE-LCHlch(66.12, 64.59, 111.08°)
OKLaboklab(70% -0.0699 0.1324)
OKLCHoklch(70% 0.15 117.8)
XYZxyz(27.5041, 35.4755, 7.3176)
Luminance0.3548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AA27 #3A27AA
analogous
#AA7B27 #97AA27 #55AA27
triadic
#97AA27 #2797AA #AA2797
tetradic
#97AA27 #27AA7B #3A27AA #AA2755
square
#97AA27 #27AA7B #3A27AA #AA2755
split-complementary
#97AA27 #2755AA #7B27AA
monochromatic
#3F4610 #6B781C #97AA27 #BCD23C #CDDE6E

Accessibility & contrast

On white

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

On black

8.09
#97AA27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AA27
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AA27#FFFFFF#000000##000000
##97AA271.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A003
Deuteranopia (green-blind)
#B4A133
Tritanopia (blue-blind)
#A1A092
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #97aa27;
/* rgb */ color: rgb(151, 170, 39);
/* oklch */ color: oklch(70.0% 0.150 117.8);
Tailwind
colors: {
  custom: {
    50: '#b9c36c',
    500: '#97aa27',
    950: '#000000',
  },
}
SCSS
$custom: #97aa27;
$custom-light: #b9c36c;
$custom-dark: #000000;
JSON
{
  "hex": "#97aa27",
  "rgb": {
    "r": 151,
    "g": 170,
    "b": 39
  },
  "hsl": {
    "h": 68.702,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69997,
    "c": 0.14972,
    "h": 117.8
  },
  "luminance": 0.35475
}

Semantic roles & 50–950 ramp

primary
#97AA27
secondary
#7669C4
accent
#42E65A
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97AA27

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

Preview Lab → · Contrast checker → · Palette generator →

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