#97A428#97A428

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

Color values

HEX#97A428
RGBrgb(151, 164, 40)
HSLhsl(66, 61%, 40%)
HSVhsv(66, 76%, 64%)
CMYKcmyk(7.9%, 0%, 75.6%, 35.7%)
CIE-LABlab(64.39, -20.19, 58.33)
CIE-LCHlch(64.39, 61.73, 109.09°)
OKLaboklab(68.61% -0.0614 0.1285)
OKLCHoklch(68.61% 0.142 115.6)
XYZxyz(26.4217, 33.2839, 7.0396)
Luminance0.3328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A428 #3528A4
analogous
#A47328 #97A428 #59A428
triadic
#97A428 #2897A4 #A42897
tetradic
#97A428 #28A473 #3528A4 #A42859
square
#97A428 #28A473 #3528A4 #A42859
split-complementary
#97A428 #2859A4 #7328A4
monochromatic
#3C4210 #6A731C #97A428 #BFCF3A #CFDB6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A428#FFFFFF#000000##000000
##97A4281.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)
#B09B0B
Deuteranopia (green-blind)
#AF9D33
Tritanopia (blue-blind)
#A19A8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #97a428;
/* rgb */ color: rgb(151, 164, 40);
/* oklch */ color: oklch(68.6% 0.142 115.6);
Tailwind
colors: {
  custom: {
    50: '#b9be6c',
    500: '#97a428',
    950: '#000000',
  },
}
SCSS
$custom: #97a428;
$custom-light: #b9be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#97a428",
  "rgb": {
    "r": 151,
    "g": 164,
    "b": 40
  },
  "hsl": {
    "h": 66.29,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.68611,
    "c": 0.14239,
    "h": 115.6
  },
  "luminance": 0.33283
}

Semantic roles & 50–950 ramp

primary
#97A428
secondary
#7066C1
accent
#44E455
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A428

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

Preview Lab → · Contrast checker → · Palette generator →

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