#97A828#97A828

#97A828 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.5% C 0.147 H 117.1°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#97A828
RGBrgb(151, 168, 40)
HSLhsl(68, 62%, 41%)
HSVhsv(68, 76%, 66%)
CMYKcmyk(10.1%, 0%, 76.2%, 34.1%)
CIE-LABlab(65.54, -22.20, 59.41)
CIE-LCHlch(65.54, 63.42, 110.49°)
OKLaboklab(69.54% -0.067 0.1307)
OKLCHoklch(69.54% 0.147 117.1)
XYZxyz(27.1488, 34.7381, 7.2820)
Luminance0.3474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A828 #3928A8
analogous
#A87928 #97A828 #57A828
triadic
#97A828 #2897A8 #A82897
tetradic
#97A828 #28A879 #3928A8 #A82857
square
#97A828 #28A879 #3928A8 #A82857
split-complementary
#97A828 #2857A8 #7928A8
monochromatic
#3E4510 #6B771C #97A828 #BDD13D #CEDC6E

Accessibility & contrast

On white

2.64
#97A828 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#97A828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A828
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A828#FFFFFF#000000##000000
##97A8281.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F08
Deuteranopia (green-blind)
#B2A033
Tritanopia (blue-blind)
#A19E90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #97a828;
/* rgb */ color: rgb(151, 168, 40);
/* oklch */ color: oklch(69.5% 0.147 117.1);
Tailwind
colors: {
  custom: {
    50: '#b9c16c',
    500: '#97a828',
    950: '#000000',
  },
}
SCSS
$custom: #97a828;
$custom-light: #b9c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#97a828",
  "rgb": {
    "r": 151,
    "g": 168,
    "b": 40
  },
  "hsl": {
    "h": 67.969,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.69538,
    "c": 0.1469,
    "h": 117.1
  },
  "luminance": 0.34738
}

Semantic roles & 50–950 ramp

primary
#97A828
secondary
#7569C3
accent
#43E559
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A828

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

Preview Lab → · Contrast checker → · Palette generator →

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