#97A526#97A526

#97A526 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 68.8% C 0.145 H 115.9°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#97A526
RGBrgb(151, 165, 38)
HSLhsl(67, 63%, 40%)
HSVhsv(67, 77%, 65%)
CMYKcmyk(8.5%, 0%, 77%, 35.3%)
CIE-LABlab(64.67, -20.78, 59.25)
CIE-LCHlch(64.67, 62.79, 109.33°)
OKLaboklab(68.83% -0.0632 0.1301)
OKLCHoklch(68.83% 0.145 115.9)
XYZxyz(26.5682, 33.6299, 6.9250)
Luminance0.3363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A526 #3426A5
analogous
#A57326 #97A526 #58A526
triadic
#97A526 #2697A5 #A52697
tetradic
#97A526 #26A573 #3426A5 #A52658
square
#97A526 #26A573 #3426A5 #A52658
split-complementary
#97A526 #2658A5 #7326A5
monochromatic
#3C420F #69731B #97A526 #C0D137 #D0DC69

Accessibility & contrast

On white

2.72
#97A526 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#97A526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A526
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A526#FFFFFF#000000##000000
##97A5261.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C04
Deuteranopia (green-blind)
#B09E31
Tritanopia (blue-blind)
#A19B8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #97a526;
/* rgb */ color: rgb(151, 165, 38);
/* oklch */ color: oklch(68.8% 0.145 115.9);
Tailwind
colors: {
  custom: {
    50: '#b9bf6b',
    500: '#97a526',
    950: '#000000',
  },
}
SCSS
$custom: #97a526;
$custom-light: #b9bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#97a526",
  "rgb": {
    "r": 151,
    "g": 165,
    "b": 38
  },
  "hsl": {
    "h": 66.614,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6883,
    "c": 0.14462,
    "h": 115.9
  },
  "luminance": 0.3363
}

Semantic roles & 50–950 ramp

primary
#97A526
secondary
#6F64C3
accent
#42E654
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A526

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

Preview Lab → · Contrast checker → · Palette generator →

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