#97A625#97A625

#97A625 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.1% C 0.146 H 116.3°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#97A625
RGBrgb(151, 166, 37)
HSLhsl(67, 64%, 40%)
HSVhsv(67, 78%, 65%)
CMYKcmyk(9%, 0%, 77.7%, 34.9%)
CIE-LABlab(64.95, -21.33, 59.83)
CIE-LCHlch(64.95, 63.52, 109.62°)
OKLaboklab(69.06% -0.0648 0.1311)
OKLCHoklch(69.06% 0.146 116.3)
XYZxyz(26.7334, 33.9857, 6.9015)
Luminance0.3398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A625 #3425A6
analogous
#A67525 #97A625 #56A625
triadic
#97A625 #2597A6 #A62597
tetradic
#97A625 #25A675 #3425A6 #A62556
square
#97A625 #25A675 #3425A6 #A62556
split-complementary
#97A625 #2556A6 #7525A6
monochromatic
#3C420F #69741A #97A625 #C0D236 #D0DD68

Accessibility & contrast

On white

2.69
#97A625 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#97A625 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A625
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A625#FFFFFF#000000##000000
##97A6251.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B19E31
Tritanopia (blue-blind)
#A19C8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #97a625;
/* rgb */ color: rgb(151, 166, 37);
/* oklch */ color: oklch(69.1% 0.146 116.3);
Tailwind
colors: {
  custom: {
    50: '#b9c06b',
    500: '#97a625',
    950: '#000000',
  },
}
SCSS
$custom: #97a625;
$custom-light: #b9c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#97a625",
  "rgb": {
    "r": 151,
    "g": 166,
    "b": 37
  },
  "hsl": {
    "h": 66.977,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69056,
    "c": 0.14625,
    "h": 116.3
  },
  "luminance": 0.33985
}

Semantic roles & 50–950 ramp

primary
#97A625
secondary
#6F64C3
accent
#41E754
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A625

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

Preview Lab → · Contrast checker → · Palette generator →

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