#97A427#97A427

#97A427 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.6% C 0.143 H 115.5°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#97A427
RGBrgb(151, 164, 39)
HSLhsl(66, 62%, 40%)
HSVhsv(66, 76%, 64%)
CMYKcmyk(7.9%, 0%, 76.2%, 35.7%)
CIE-LABlab(64.38, -20.23, 58.66)
CIE-LCHlch(64.38, 62.05, 109.03°)
OKLaboklab(68.61% -0.0616 0.129)
OKLCHoklch(68.61% 0.143 115.5)
XYZxyz(26.4049, 33.2771, 6.9512)
Luminance0.3328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A427 #3427A4
analogous
#A47327 #97A427 #59A427
triadic
#97A427 #2797A4 #A42797
tetradic
#97A427 #27A473 #3427A4 #A42759
square
#97A427 #27A473 #3427A4 #A42759
split-complementary
#97A427 #2759A4 #7327A4
monochromatic
#3C410F #69731B #97A427 #C0D038 #D0DC6A

Accessibility & contrast

On white

2.74
#97A427 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#97A427 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A427
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A427#FFFFFF#000000##000000
##97A4271.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B08
Deuteranopia (green-blind)
#AF9D32
Tritanopia (blue-blind)
#A19A8C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #97a427;
/* rgb */ color: rgb(151, 164, 39);
/* oklch */ color: oklch(68.6% 0.143 115.5);
Tailwind
colors: {
  custom: {
    50: '#b9be6c',
    500: '#97a427',
    950: '#000000',
  },
}
SCSS
$custom: #97a427;
$custom-light: #b9be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#97a427",
  "rgb": {
    "r": 151,
    "g": 164,
    "b": 39
  },
  "hsl": {
    "h": 66.24,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68605,
    "c": 0.14295,
    "h": 115.5
  },
  "luminance": 0.33277
}

Semantic roles & 50–950 ramp

primary
#97A427
secondary
#6F65C2
accent
#43E554
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A427

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

Preview Lab → · Contrast checker → · Palette generator →

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