#97A040#97A040

#97A040 is a light, vivid yellow. Relative luminance 0.321; OKLCH L 67.9% C 0.120 H 114.1°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#97A040
RGBrgb(151, 160, 64)
HSLhsl(66, 43%, 44%)
HSVhsv(66, 60%, 63%)
CMYKcmyk(5.6%, 0%, 60%, 37.3%)
CIE-LABlab(63.42, -16.67, 47.73)
CIE-LCHlch(63.42, 50.55, 109.25°)
OKLaboklab(67.89% -0.0492 0.1099)
OKLCHoklch(67.89% 0.12 114.1)
XYZxyz(26.2593, 32.0915, 9.6605)
Luminance0.3209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A040 #4940A0
analogous
#A07940 #97A040 #67A040
triadic
#97A040 #4097A0 #A04097
tetradic
#97A040 #40A079 #4940A0 #A04067
square
#97A040 #40A079 #4940A0 #A04067
split-complementary
#97A040 #4067A0 #7940A0
monochromatic
#44491D #6E742F #97A040 #B6BF5E #CAD08A

Accessibility & contrast

On white

2.83
#97A040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#97A040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A040
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A040#FFFFFF#000000##000000
##97A0401.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9935
Deuteranopia (green-blind)
#AA9B46
Tritanopia (blue-blind)
#A0978B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #97a040;
/* rgb */ color: rgb(151, 160, 64);
/* oklch */ color: oklch(67.9% 0.120 114.1);
Tailwind
colors: {
  custom: {
    50: '#b8bc79',
    500: '#97a040',
    950: '#000000',
  },
}
SCSS
$custom: #97a040;
$custom-light: #b8bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#97a040",
  "rgb": {
    "r": 151,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 65.625,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67888,
    "c": 0.12041,
    "h": 114.1
  },
  "luminance": 0.32091
}

Semantic roles & 50–950 ramp

primary
#97A040
secondary
#8681BB
accent
#55D361
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#121109
muted
#81807B

Preview Lab

Preview with #97A040

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

Preview Lab → · Contrast checker → · Palette generator →

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