#97A536#97A536

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

Color values

HEX#97A536
RGBrgb(151, 165, 54)
HSLhsl(68, 51%, 43%)
HSVhsv(68, 67%, 65%)
CMYKcmyk(8.5%, 0%, 67.3%, 35.3%)
CIE-LABlab(64.77, -19.93, 53.48)
CIE-LCHlch(64.77, 57.08, 110.44°)
OKLaboklab(68.94% -0.0594 0.1206)
OKLCHoklch(68.94% 0.134 116.2)
XYZxyz(26.8841, 33.7563, 8.5887)
Luminance0.3376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A536 #4436A5
analogous
#A57C36 #97A536 #5FA536
triadic
#97A536 #3697A5 #A53697
tetradic
#97A536 #36A57C #4436A5 #A5365F
square
#97A536 #36A57C #4436A5 #A5365F
split-complementary
#97A536 #365FA5 #7C36A5
monochromatic
#434918 #6D7727 #97A536 #B8C652 #CBD580

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A536#FFFFFF#000000##000000
##97A5361.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)
#B09D26
Deuteranopia (green-blind)
#AF9E3E
Tritanopia (blue-blind)
#A09C8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #97a536;
/* rgb */ color: rgb(151, 165, 54);
/* oklch */ color: oklch(68.9% 0.134 116.2);
Tailwind
colors: {
  custom: {
    50: '#b8bf73',
    500: '#97a536',
    950: '#000000',
  },
}
SCSS
$custom: #97a536;
$custom-light: #b8bf73;
$custom-dark: #000000;
JSON
{
  "hex": "#97a536",
  "rgb": {
    "r": 151,
    "g": 165,
    "b": 54
  },
  "hsl": {
    "h": 67.568,
    "s": 50.685,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68943,
    "c": 0.13444,
    "h": 116.2
  },
  "luminance": 0.33756
}

Semantic roles & 50–950 ramp

primary
#97A536
secondary
#8178BF
accent
#4EDA5F
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A536

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

Preview Lab → · Contrast checker → · Palette generator →

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