#97A72F#97A72F

#97A72F is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.4% C 0.142 H 116.9°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#97A72F
RGBrgb(151, 167, 47)
HSLhsl(68, 56%, 42%)
HSVhsv(68, 72%, 65%)
CMYKcmyk(9.6%, 0%, 71.9%, 34.5%)
CIE-LABlab(65.30, -21.35, 56.73)
CIE-LCHlch(65.30, 60.61, 110.62°)
OKLaboklab(69.35% -0.064 0.1263)
OKLCHoklch(69.35% 0.142 116.9)
XYZxyz(27.0949, 34.4223, 7.9056)
Luminance0.3442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A72F #3F2FA7
analogous
#A77B2F #97A72F #5BA72F
triadic
#97A72F #2F97A7 #A72F97
tetradic
#97A72F #2FA77B #3F2FA7 #A72F5B
square
#97A72F #2FA77B #3F2FA7 #A72F5B
split-complementary
#97A72F #2F5BA7 #7B2FA7
monochromatic
#414714 #6C7722 #97A72F #BACB48 #CCD978

Accessibility & contrast

On white

2.66
#97A72F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#97A72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A72F
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A72F#FFFFFF#000000##000000
##97A72F1.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E1A
Deuteranopia (green-blind)
#B19F39
Tritanopia (blue-blind)
#A09E90
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #97a72f;
/* rgb */ color: rgb(151, 167, 47);
/* oklch */ color: oklch(69.4% 0.142 116.9);
Tailwind
colors: {
  custom: {
    50: '#b9c170',
    500: '#97a72f',
    950: '#000000',
  },
}
SCSS
$custom: #97a72f;
$custom-light: #b9c170;
$custom-dark: #000000;
JSON
{
  "hex": "#97a72f",
  "rgb": {
    "r": 151,
    "g": 167,
    "b": 47
  },
  "hsl": {
    "h": 68,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69352,
    "c": 0.14159,
    "h": 116.9
  },
  "luminance": 0.34422
}

Semantic roles & 50–950 ramp

primary
#97A72F
secondary
#7C71C1
accent
#48DF5D
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A72F

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

Preview Lab → · Contrast checker → · Palette generator →

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