#97A928#97A928

#97A928 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 69.8% C 0.148 H 117.5°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#97A928
RGBrgb(151, 169, 40)
HSLhsl(68, 62%, 41%)
HSVhsv(68, 76%, 66%)
CMYKcmyk(10.7%, 0%, 76.3%, 33.7%)
CIE-LABlab(65.83, -22.70, 59.68)
CIE-LCHlch(65.83, 63.85, 110.82°)
OKLaboklab(69.77% -0.0684 0.1313)
OKLCHoklch(69.77% 0.148 117.5)
XYZxyz(27.3341, 35.1088, 7.3438)
Luminance0.3511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A928 #3A28A9
analogous
#A97A28 #97A928 #56A928
triadic
#97A928 #2897A9 #A92897
tetradic
#97A928 #28A97A #3A28A9 #A92856
square
#97A928 #28A97A #3A28A9 #A92856
split-complementary
#97A928 #2856A9 #7A28A9
monochromatic
#3F4611 #6B781C #97A928 #BCD13D #CDDD6F

Accessibility & contrast

On white

2.62
#97A928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#97A928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A928
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A928#FFFFFF#000000##000000
##97A9281.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A007
Deuteranopia (green-blind)
#B3A134
Tritanopia (blue-blind)
#A19F91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #97a928;
/* rgb */ color: rgb(151, 169, 40);
/* oklch */ color: oklch(69.8% 0.148 117.5);
Tailwind
colors: {
  custom: {
    50: '#b9c26d',
    500: '#97a928',
    950: '#000000',
  },
}
SCSS
$custom: #97a928;
$custom-light: #b9c26d;
$custom-dark: #000000;
JSON
{
  "hex": "#97a928",
  "rgb": {
    "r": 151,
    "g": 169,
    "b": 40
  },
  "hsl": {
    "h": 68.372,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.6977,
    "c": 0.14804,
    "h": 117.5
  },
  "luminance": 0.35108
}

Semantic roles & 50–950 ramp

primary
#97A928
secondary
#7669C4
accent
#43E55A
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A928

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

Preview Lab → · Contrast checker → · Palette generator →

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