#97A546#97A546

#97A546 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.1% C 0.121 H 116.7°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#97A546
RGBrgb(151, 165, 70)
HSLhsl(69, 40%, 46%)
HSVhsv(69, 58%, 65%)
CMYKcmyk(8.5%, 0%, 57.6%, 35.3%)
CIE-LABlab(64.91, -18.75, 46.62)
CIE-LCHlch(64.91, 50.25, 111.91°)
OKLaboklab(69.1% -0.0544 0.1083)
OKLCHoklch(69.1% 0.121 116.7)
XYZxyz(27.3236, 33.9321, 10.9033)
Luminance0.3393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A546 #5446A5
analogous
#A58346 #97A546 #67A546
triadic
#97A546 #4697A5 #A54697
tetradic
#97A546 #46A583 #5446A5 #A54667
square
#97A546 #46A583 #5446A5 #A54667
split-complementary
#97A546 #4667A5 #8346A5
monochromatic
#484F22 #707A34 #97A546 #B3BF69 #C8D294

Accessibility & contrast

On white

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

On black

7.79
#97A546 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A546
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A546#FFFFFF#000000##000000
##97A5461.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D3C
Deuteranopia (green-blind)
#AE9E4C
Tritanopia (blue-blind)
#9F9D90
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #97a546;
/* rgb */ color: rgb(151, 165, 70);
/* oklch */ color: oklch(69.1% 0.121 116.7);
Tailwind
colors: {
  custom: {
    50: '#b8bf7d',
    500: '#97a546',
    950: '#000000',
  },
}
SCSS
$custom: #97a546;
$custom-light: #b8bf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#97a546",
  "rgb": {
    "r": 151,
    "g": 165,
    "b": 70
  },
  "hsl": {
    "h": 68.842,
    "s": 40.426,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69101,
    "c": 0.12119,
    "h": 116.7
  },
  "luminance": 0.33932
}

Semantic roles & 50–950 ramp

primary
#97A546
secondary
#9189BD
accent
#58D069
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #97A546

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

Preview Lab → · Contrast checker → · Palette generator →

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