#97A327#97A327

#97A327 is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.4% C 0.142 H 115.1°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#97A327
RGBrgb(151, 163, 39)
HSLhsl(66, 61%, 40%)
HSVhsv(66, 76%, 64%)
CMYKcmyk(7.4%, 0%, 76.1%, 36.1%)
CIE-LABlab(64.10, -19.73, 58.39)
CIE-LCHlch(64.10, 61.63, 108.67°)
OKLaboklab(68.37% -0.0602 0.1284)
OKLCHoklch(68.37% 0.142 115.1)
XYZxyz(26.2266, 32.9206, 6.8918)
Luminance0.3292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A327 #3327A3
analogous
#A37127 #97A327 #59A327
triadic
#97A327 #2797A3 #A32797
tetradic
#97A327 #27A371 #3327A3 #A32759
square
#97A327 #27A371 #3327A3 #A32759
split-complementary
#97A327 #2759A3 #7127A3
monochromatic
#3C400F #69721B #97A327 #C1CF38 #D0DB69

Accessibility & contrast

On white

2.77
#97A327 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#97A327 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A327
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A327#FFFFFF#000000##000000
##97A3271.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A08
Deuteranopia (green-blind)
#AE9C32
Tritanopia (blue-blind)
#A1998C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #97a327;
/* rgb */ color: rgb(151, 163, 39);
/* oklch */ color: oklch(68.4% 0.142 115.1);
Tailwind
colors: {
  custom: {
    50: '#b9be6b',
    500: '#97a327',
    950: '#000000',
  },
}
SCSS
$custom: #97a327;
$custom-light: #b9be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#97a327",
  "rgb": {
    "r": 151,
    "g": 163,
    "b": 39
  },
  "hsl": {
    "h": 65.806,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68373,
    "c": 0.14184,
    "h": 115.1
  },
  "luminance": 0.3292
}

Semantic roles & 50–950 ramp

primary
#97A327
secondary
#6D64C1
accent
#43E453
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A327

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

Preview Lab → · Contrast checker → · Palette generator →

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