#97A53E#97A53E

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

Color values

HEX#97A53E
RGBrgb(151, 165, 62)
HSLhsl(68, 45%, 45%)
HSVhsv(68, 62%, 65%)
CMYKcmyk(8.5%, 0%, 62.4%, 35.3%)
CIE-LABlab(64.83, -19.38, 50.16)
CIE-LCHlch(64.83, 53.78, 111.12°)
OKLaboklab(69.02% -0.057 0.1148)
OKLCHoklch(69.02% 0.128 116.4)
XYZxyz(27.0877, 33.8377, 9.6609)
Luminance0.3384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A53E #4C3EA5
analogous
#A57F3E #97A53E #64A53E
triadic
#97A53E #3E97A5 #A53E97
tetradic
#97A53E #3EA57F #4C3EA5 #A53E64
square
#97A53E #3EA57F #4C3EA5 #A53E64
split-complementary
#97A53E #3E64A5 #7F3EA5
monochromatic
#464C1D #6E792D #97A53E #B5C25E #C9D38A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A53E#FFFFFF#000000##000000
##97A53E1.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)
#B09D32
Deuteranopia (green-blind)
#AF9E45
Tritanopia (blue-blind)
#A09C8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #97a53e;
/* rgb */ color: rgb(151, 165, 62);
/* oklch */ color: oklch(69.0% 0.128 116.4);
Tailwind
colors: {
  custom: {
    50: '#b8bf78',
    500: '#97a53e',
    950: '#000000',
  },
}
SCSS
$custom: #97a53e;
$custom-light: #b8bf78;
$custom-dark: #000000;
JSON
{
  "hex": "#97a53e",
  "rgb": {
    "r": 151,
    "g": 165,
    "b": 62
  },
  "hsl": {
    "h": 68.155,
    "s": 45.374,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69016,
    "c": 0.12819,
    "h": 116.4
  },
  "luminance": 0.33837
}

Semantic roles & 50–950 ramp

primary
#97A53E
secondary
#8981BE
accent
#53D564
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #97A53E

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

Preview Lab → · Contrast checker → · Palette generator →

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