#97A626#97A626

#97A626 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#97A626
RGBrgb(151, 166, 38)
HSLhsl(67, 63%, 40%)
HSVhsv(67, 77%, 65%)
CMYKcmyk(9%, 0%, 77.1%, 34.9%)
CIE-LABlab(64.96, -21.29, 59.52)
CIE-LCHlch(64.96, 63.21, 109.68°)
OKLaboklab(69.06% -0.0646 0.1306)
OKLCHoklch(69.06% 0.146 116.3)
XYZxyz(26.7493, 33.9921, 6.9853)
Luminance0.3399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A626 #3526A6
analogous
#A67526 #97A626 #57A626
triadic
#97A626 #2697A6 #A62697
tetradic
#97A626 #26A675 #3526A6 #A62657
square
#97A626 #26A675 #3526A6 #A62657
split-complementary
#97A626 #2657A6 #7526A6
monochromatic
#3C420F #6A741B #97A626 #BFD138 #CFDD6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A626#FFFFFF#000000##000000
##97A6261.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)
#B29D03
Deuteranopia (green-blind)
#B19E32
Tritanopia (blue-blind)
#A19C8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #97a626;
/* rgb */ color: rgb(151, 166, 38);
/* oklch */ color: oklch(69.1% 0.146 116.3);
Tailwind
colors: {
  custom: {
    50: '#b9c06b',
    500: '#97a626',
    950: '#000000',
  },
}
SCSS
$custom: #97a626;
$custom-light: #b9c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#97a626",
  "rgb": {
    "r": 151,
    "g": 166,
    "b": 38
  },
  "hsl": {
    "h": 67.031,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.69062,
    "c": 0.14573,
    "h": 116.3
  },
  "luminance": 0.33992
}

Semantic roles & 50–950 ramp

primary
#97A626
secondary
#7065C3
accent
#42E655
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A626

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

Preview Lab → · Contrast checker → · Palette generator →

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