#97A728#97A728

#97A728 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.3% C 0.146 H 116.7°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#97A728
RGBrgb(151, 167, 40)
HSLhsl(68, 61%, 41%)
HSVhsv(68, 76%, 65%)
CMYKcmyk(9.6%, 0%, 76%, 34.5%)
CIE-LABlab(65.26, -21.70, 59.14)
CIE-LCHlch(65.26, 63.00, 110.15°)
OKLaboklab(69.31% -0.0656 0.1302)
OKLCHoklch(69.31% 0.146 116.7)
XYZxyz(26.9649, 34.3703, 7.2207)
Luminance0.3437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A728 #3828A7
analogous
#A77728 #97A728 #57A728
triadic
#97A728 #2897A7 #A72897
tetradic
#97A728 #28A777 #3828A7 #A72857
square
#97A728 #28A777 #3828A7 #A72857
split-complementary
#97A728 #2857A7 #7728A7
monochromatic
#3E4410 #6A761C #97A728 #BED03C #CEDC6D

Accessibility & contrast

On white

2.67
#97A728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#97A728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A728
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A728#FFFFFF#000000##000000
##97A7281.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E08
Deuteranopia (green-blind)
#B19F33
Tritanopia (blue-blind)
#A19D8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #97a728;
/* rgb */ color: rgb(151, 167, 40);
/* oklch */ color: oklch(69.3% 0.146 116.7);
Tailwind
colors: {
  custom: {
    50: '#b9c16c',
    500: '#97a728',
    950: '#000000',
  },
}
SCSS
$custom: #97a728;
$custom-light: #b9c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#97a728",
  "rgb": {
    "r": 151,
    "g": 167,
    "b": 40
  },
  "hsl": {
    "h": 67.559,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69306,
    "c": 0.14577,
    "h": 116.7
  },
  "luminance": 0.3437
}

Semantic roles & 50–950 ramp

primary
#97A728
secondary
#7368C3
accent
#43E458
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A728

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

Preview Lab → · Contrast checker → · Palette generator →

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