#97A538#97A538

#97A538 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.0% C 0.133 H 116.3°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#97A538
RGBrgb(151, 165, 56)
HSLhsl(68, 49%, 43%)
HSVhsv(68, 66%, 65%)
CMYKcmyk(8.5%, 0%, 66.1%, 35.3%)
CIE-LABlab(64.78, -19.80, 52.68)
CIE-LCHlch(64.78, 56.27, 110.60°)
OKLaboklab(68.96% -0.0588 0.1192)
OKLCHoklch(68.96% 0.133 116.3)
XYZxyz(26.9320, 33.7755, 8.8412)
Luminance0.3377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A538 #4638A5
analogous
#A57C38 #97A538 #61A538
triadic
#97A538 #3897A5 #A53897
tetradic
#97A538 #38A57C #4638A5 #A53861
square
#97A538 #38A57C #4638A5 #A53861
split-complementary
#97A538 #3861A5 #7C38A5
monochromatic
#434A19 #6D7728 #97A538 #B7C555 #CAD583

Accessibility & contrast

On white

2.71
#97A538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#97A538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A538
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A538#FFFFFF#000000##000000
##97A5381.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D29
Deuteranopia (green-blind)
#AF9E40
Tritanopia (blue-blind)
#A09C8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #97a538;
/* rgb */ color: rgb(151, 165, 56);
/* oklch */ color: oklch(69.0% 0.133 116.3);
Tailwind
colors: {
  custom: {
    50: '#b8bf74',
    500: '#97a538',
    950: '#000000',
  },
}
SCSS
$custom: #97a538;
$custom-light: #b8bf74;
$custom-dark: #000000;
JSON
{
  "hex": "#97a538",
  "rgb": {
    "r": 151,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 67.706,
    "s": 49.321,
    "l": 43.333
  },
  "oklch": {
    "l": 0.68961,
    "c": 0.13295,
    "h": 116.3
  },
  "luminance": 0.33775
}

Semantic roles & 50–950 ramp

primary
#97A538
secondary
#837ABE
accent
#4FD961
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #97A538

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

Preview Lab → · Contrast checker → · Palette generator →

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