#97A51D#97A51D

#97A51D is a light, vivid yellow. Relative luminance 0.336; OKLCH L 68.8% C 0.149 H 115.8°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#97A51D
RGBrgb(151, 165, 29)
HSLhsl(66, 70%, 38%)
HSVhsv(66, 82%, 65%)
CMYKcmyk(8.5%, 0%, 82.4%, 35.3%)
CIE-LABlab(64.63, -21.13, 61.86)
CIE-LCHlch(64.63, 65.37, 108.86°)
OKLaboklab(68.78% -0.0649 0.134)
OKLCHoklch(68.78% 0.149 115.8)
XYZxyz(26.4402, 33.5787, 6.2507)
Luminance0.3358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A51D #2B1DA5
analogous
#A56F1D #97A51D #53A51D
triadic
#97A51D #1D97A5 #A51D97
tetradic
#97A51D #1DA56F #2B1DA5 #A51D53
square
#97A51D #1DA56F #2B1DA5 #A51D53
split-complementary
#97A51D #1D53A5 #6F1DA5
monochromatic
#383D0B #677114 #97A51D #C7D926 #D4E25A

Accessibility & contrast

On white

2.72
#97A51D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#97A51D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A51D
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A51D#FFFFFF#000000##000000
##97A51D1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B09E2B
Tritanopia (blue-blind)
#A19B8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #97a51d;
/* rgb */ color: rgb(151, 165, 29);
/* oklch */ color: oklch(68.8% 0.149 115.8);
Tailwind
colors: {
  custom: {
    50: '#b9bf67',
    500: '#97a51d',
    950: '#000000',
  },
}
SCSS
$custom: #97a51d;
$custom-light: #b9bf67;
$custom-dark: #000000;
JSON
{
  "hex": "#97a51d",
  "rgb": {
    "r": 151,
    "g": 165,
    "b": 29
  },
  "hsl": {
    "h": 66.176,
    "s": 70.103,
    "l": 38.039
  },
  "oklch": {
    "l": 0.68784,
    "c": 0.1489,
    "h": 115.8
  },
  "luminance": 0.33578
}

Semantic roles & 50–950 ramp

primary
#97A51D
secondary
#6358C6
accent
#3BED4D
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #97A51D

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

Preview Lab → · Contrast checker → · Palette generator →

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