#97A926#97A926

#97A926 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 69.8% C 0.149 H 117.5°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#97A926
RGBrgb(151, 169, 38)
HSLhsl(68, 63%, 41%)
HSVhsv(68, 78%, 66%)
CMYKcmyk(10.7%, 0%, 77.5%, 33.7%)
CIE-LABlab(65.82, -22.78, 60.31)
CIE-LCHlch(65.82, 64.47, 110.69°)
OKLaboklab(69.76% -0.0688 0.1323)
OKLCHoklch(69.76% 0.149 117.5)
XYZxyz(27.3010, 35.0955, 7.1692)
Luminance0.3509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A926 #3826A9
analogous
#A97926 #97A926 #56A926
triadic
#97A926 #2697A9 #A92697
tetradic
#97A926 #26A979 #3826A9 #A92656
square
#97A926 #26A979 #3826A9 #A92656
split-complementary
#97A926 #2656A9 #7926A9
monochromatic
#3E4510 #6A771B #97A926 #BED33A #CEDE6C

Accessibility & contrast

On white

2.62
#97A926 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#97A926 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A926
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A926#FFFFFF#000000##000000
##97A9261.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B3A132
Tritanopia (blue-blind)
#A19F91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #97a926;
/* rgb */ color: rgb(151, 169, 38);
/* oklch */ color: oklch(69.8% 0.149 117.5);
Tailwind
colors: {
  custom: {
    50: '#b9c26c',
    500: '#97a926',
    950: '#000000',
  },
}
SCSS
$custom: #97a926;
$custom-light: #b9c26c;
$custom-dark: #000000;
JSON
{
  "hex": "#97a926",
  "rgb": {
    "r": 151,
    "g": 169,
    "b": 38
  },
  "hsl": {
    "h": 68.244,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69759,
    "c": 0.14911,
    "h": 117.5
  },
  "luminance": 0.35095
}

Semantic roles & 50–950 ramp

primary
#97A926
secondary
#7367C4
accent
#41E658
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A926

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

Preview Lab → · Contrast checker → · Palette generator →

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