#97AD27#97AD27

#97AD27 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.7% C 0.153 H 118.9°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#97AD27
RGBrgb(151, 173, 39)
HSLhsl(70, 63%, 42%)
HSVhsv(70, 77%, 68%)
CMYKcmyk(12.7%, 0%, 77.5%, 32.2%)
CIE-LABlab(66.99, -24.72, 61.07)
CIE-LCHlch(66.99, 65.88, 112.03°)
OKLaboklab(70.7% -0.074 0.1341)
OKLCHoklch(70.7% 0.153 118.9)
XYZxyz(28.0729, 36.6131, 7.5072)
Luminance0.3661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AD27 #3D27AD
analogous
#AD8027 #97AD27 #54AD27
triadic
#97AD27 #2797AD #AD2797
tetradic
#97AD27 #27AD80 #3D27AD #AD2754
square
#97AD27 #27AD80 #3D27AD #AD2754
split-complementary
#97AD27 #2754AD #8027AD
monochromatic
#404910 #6B7B1C #97AD27 #BBD33E #CCDF70

Accessibility & contrast

On white

2.52
#97AD27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#97AD27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AD27
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AD27#FFFFFF#000000##000000
##97AD271.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B6A334
Tritanopia (blue-blind)
#A0A394
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #97ad27;
/* rgb */ color: rgb(151, 173, 39);
/* oklch */ color: oklch(70.7% 0.153 118.9);
Tailwind
colors: {
  custom: {
    50: '#b9c56d',
    500: '#97ad27',
    950: '#000000',
  },
}
SCSS
$custom: #97ad27;
$custom-light: #b9c56d;
$custom-dark: #000000;
JSON
{
  "hex": "#97ad27",
  "rgb": {
    "r": 151,
    "g": 173,
    "b": 39
  },
  "hsl": {
    "h": 69.851,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70696,
    "c": 0.15315,
    "h": 118.9
  },
  "luminance": 0.36613
}

Semantic roles & 50–950 ramp

primary
#97AD27
secondary
#796AC6
accent
#42E65D
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #97AD27

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

Preview Lab → · Contrast checker → · Palette generator →

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