#97A640#97A640

#97A640 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.3% C 0.128 H 116.9°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#97A640
RGBrgb(151, 166, 64)
HSLhsl(69, 44%, 45%)
HSVhsv(69, 61%, 65%)
CMYKcmyk(9%, 0%, 61.4%, 34.9%)
CIE-LABlab(65.14, -19.74, 49.61)
CIE-LCHlch(65.14, 53.39, 111.70°)
OKLaboklab(69.27% -0.0578 0.1139)
OKLCHoklch(69.27% 0.128 116.9)
XYZxyz(27.3246, 34.2222, 10.0156)
Luminance0.3422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A640 #4F40A6
analogous
#A68240 #97A640 #64A640
triadic
#97A640 #4097A6 #A64097
tetradic
#97A640 #40A682 #4F40A6 #A64064
square
#97A640 #40A682 #4F40A6 #A64064
split-complementary
#97A640 #4064A6 #8240A6
monochromatic
#474E1E #6F7A2F #97A640 #B4C261 #C9D38D

Accessibility & contrast

On white

2.68
#97A640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#97A640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A640
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A640#FFFFFF#000000##000000
##97A6401.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E34
Deuteranopia (green-blind)
#AF9F47
Tritanopia (blue-blind)
#A09D90
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #97a640;
/* rgb */ color: rgb(151, 166, 64);
/* oklch */ color: oklch(69.3% 0.128 116.9);
Tailwind
colors: {
  custom: {
    50: '#b8c079',
    500: '#97a640',
    950: '#000000',
  },
}
SCSS
$custom: #97a640;
$custom-light: #b8c079;
$custom-dark: #000000;
JSON
{
  "hex": "#97a640",
  "rgb": {
    "r": 151,
    "g": 166,
    "b": 64
  },
  "hsl": {
    "h": 68.824,
    "s": 44.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69267,
    "c": 0.12774,
    "h": 116.9
  },
  "luminance": 0.34222
}

Semantic roles & 50–950 ramp

primary
#97A640
secondary
#8C84BE
accent
#54D467
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #97A640

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

Preview Lab → · Contrast checker → · Palette generator →

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