#97A61D#97A61D

#97A61D is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.0% C 0.150 H 116.2°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#97A61D
RGBrgb(151, 166, 29)
HSLhsl(67, 70%, 38%)
HSVhsv(67, 83%, 65%)
CMYKcmyk(9%, 0%, 82.5%, 34.9%)
CIE-LABlab(64.92, -21.63, 62.11)
CIE-LCHlch(64.92, 65.77, 109.20°)
OKLaboklab(69.02% -0.0663 0.1346)
OKLCHoklch(69.02% 0.15 116.2)
XYZxyz(26.6212, 33.9409, 6.3110)
Luminance0.3394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A61D #2C1DA6
analogous
#A6701D #97A61D #53A61D
triadic
#97A61D #1D97A6 #A61D97
tetradic
#97A61D #1DA670 #2C1DA6 #A61D53
square
#97A61D #1DA670 #2C1DA6 #A61D53
split-complementary
#97A61D #1D53A6 #701DA6
monochromatic
#383E0B #687214 #97A61D #C6D927 #D4E25B

Accessibility & contrast

On white

2.70
#97A61D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#97A61D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A61D
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A61D#FFFFFF#000000##000000
##97A61D1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B19E2B
Tritanopia (blue-blind)
#A19C8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #97a61d;
/* rgb */ color: rgb(151, 166, 29);
/* oklch */ color: oklch(69.0% 0.150 116.2);
Tailwind
colors: {
  custom: {
    50: '#b9c068',
    500: '#97a61d',
    950: '#000000',
  },
}
SCSS
$custom: #97a61d;
$custom-light: #b9c068;
$custom-dark: #000000;
JSON
{
  "hex": "#97a61d",
  "rgb": {
    "r": 151,
    "g": 166,
    "b": 29
  },
  "hsl": {
    "h": 66.569,
    "s": 70.256,
    "l": 38.235
  },
  "oklch": {
    "l": 0.69016,
    "c": 0.14999,
    "h": 116.2
  },
  "luminance": 0.3394
}

Semantic roles & 50–950 ramp

primary
#97A61D
secondary
#6559C6
accent
#3BED4E
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #97A61D

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

Preview Lab → · Contrast checker → · Palette generator →

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