#97A426#97A426

#97A426 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.6% C 0.143 H 115.5°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#97A426
RGBrgb(151, 164, 38)
HSLhsl(66, 62%, 40%)
HSVhsv(66, 77%, 64%)
CMYKcmyk(7.9%, 0%, 76.8%, 35.7%)
CIE-LABlab(64.38, -20.28, 58.98)
CIE-LCHlch(64.38, 62.37, 108.97°)
OKLaboklab(68.6% -0.0618 0.1295)
OKLCHoklch(68.6% 0.143 115.5)
XYZxyz(26.3885, 33.2706, 6.8651)
Luminance0.3327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A426 #3326A4
analogous
#A47226 #97A426 #58A426
triadic
#97A426 #2697A4 #A42697
tetradic
#97A426 #26A472 #3326A4 #A42658
square
#97A426 #26A472 #3326A4 #A42658
split-complementary
#97A426 #2658A4 #7226A4
monochromatic
#3C410F #69721A #97A426 #C1D137 #D0DC68

Accessibility & contrast

On white

2.74
#97A426 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#97A426 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A426
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A426#FFFFFF#000000##000000
##97A4261.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B04
Deuteranopia (green-blind)
#AF9D31
Tritanopia (blue-blind)
#A19A8C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #97a426;
/* rgb */ color: rgb(151, 164, 38);
/* oklch */ color: oklch(68.6% 0.143 115.5);
Tailwind
colors: {
  custom: {
    50: '#b9be6b',
    500: '#97a426',
    950: '#000000',
  },
}
SCSS
$custom: #97a426;
$custom-light: #b9be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#97a426",
  "rgb": {
    "r": 151,
    "g": 164,
    "b": 38
  },
  "hsl": {
    "h": 66.19,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68599,
    "c": 0.14349,
    "h": 115.5
  },
  "luminance": 0.3327
}

Semantic roles & 50–950 ramp

primary
#97A426
secondary
#6D64C2
accent
#42E553
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A426

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

Preview Lab → · Contrast checker → · Palette generator →

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