#97A71D#97A71D

#97A71D is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.2% C 0.151 H 116.6°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#97A71D
RGBrgb(151, 167, 29)
HSLhsl(67, 70%, 38%)
HSVhsv(67, 83%, 65%)
CMYKcmyk(9.6%, 0%, 82.6%, 34.5%)
CIE-LABlab(65.20, -22.13, 62.36)
CIE-LCHlch(65.20, 66.17, 109.54°)
OKLaboklab(69.25% -0.0676 0.1351)
OKLCHoklch(69.25% 0.151 116.6)
XYZxyz(26.8037, 34.3058, 6.3718)
Luminance0.3431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A71D #2D1DA7
analogous
#A7721D #97A71D #52A71D
triadic
#97A71D #1D97A7 #A71D97
tetradic
#97A71D #1DA772 #2D1DA7 #A71D52
square
#97A71D #1DA772 #2D1DA7 #A71D52
split-complementary
#97A71D #1D52A7 #721DA7
monochromatic
#393F0B #687314 #97A71D #C5DA28 #D3E35C

Accessibility & contrast

On white

2.67
#97A71D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#97A71D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A71D
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A71D#FFFFFF#000000##000000
##97A71D1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B29F2C
Tritanopia (blue-blind)
#A19D8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #97a71d;
/* rgb */ color: rgb(151, 167, 29);
/* oklch */ color: oklch(69.2% 0.151 116.6);
Tailwind
colors: {
  custom: {
    50: '#b9c168',
    500: '#97a71d',
    950: '#000000',
  },
}
SCSS
$custom: #97a71d;
$custom-light: #b9c168;
$custom-dark: #000000;
JSON
{
  "hex": "#97a71d",
  "rgb": {
    "r": 151,
    "g": 167,
    "b": 29
  },
  "hsl": {
    "h": 66.957,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.69249,
    "c": 0.15109,
    "h": 116.6
  },
  "luminance": 0.34305
}

Semantic roles & 50–950 ramp

primary
#97A71D
secondary
#6659C7
accent
#3BED4F
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #97A71D

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

Preview Lab → · Contrast checker → · Palette generator →

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