#97A541#97A541

#97A541 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.0% C 0.126 H 116.5°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#97A541
RGBrgb(151, 165, 65)
HSLhsl(68, 43%, 45%)
HSVhsv(68, 61%, 65%)
CMYKcmyk(8.5%, 0%, 60.6%, 35.3%)
CIE-LABlab(64.86, -19.16, 48.86)
CIE-LCHlch(64.86, 52.48, 111.41°)
OKLaboklab(69.05% -0.0561 0.1124)
OKLCHoklch(69.05% 0.126 116.5)
XYZxyz(27.1723, 33.8716, 10.1064)
Luminance0.3387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A541 #4F41A5
analogous
#A58141 #97A541 #65A541
triadic
#97A541 #4197A5 #A54197
tetradic
#97A541 #41A581 #4F41A5 #A54165
square
#97A541 #41A581 #4F41A5 #A54165
split-complementary
#97A541 #4165A5 #8141A5
monochromatic
#474D1E #6F7930 #97A541 #B4C162 #C9D28E

Accessibility & contrast

On white

2.70
#97A541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#97A541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A541
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A541#FFFFFF#000000##000000
##97A5411.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D36
Deuteranopia (green-blind)
#AE9E47
Tritanopia (blue-blind)
#A09C90
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #97a541;
/* rgb */ color: rgb(151, 165, 65);
/* oklch */ color: oklch(69.0% 0.126 116.5);
Tailwind
colors: {
  custom: {
    50: '#b8bf7a',
    500: '#97a541',
    950: '#000000',
  },
}
SCSS
$custom: #97a541;
$custom-light: #b8bf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#97a541",
  "rgb": {
    "r": 151,
    "g": 165,
    "b": 65
  },
  "hsl": {
    "h": 68.4,
    "s": 43.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69046,
    "c": 0.12564,
    "h": 116.5
  },
  "luminance": 0.33871
}

Semantic roles & 50–950 ramp

primary
#97A541
secondary
#8C84BE
accent
#55D366
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #97A541

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

Preview Lab → · Contrast checker → · Palette generator →

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