#97A11D#97A11D

#97A11D is a light, vivid yellow. Relative luminance 0.322; OKLCH L 67.9% C 0.145 H 114.2°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#97A11D
RGBrgb(151, 161, 29)
HSLhsl(65, 69%, 37%)
HSVhsv(65, 82%, 63%)
CMYKcmyk(6.2%, 0%, 82%, 36.9%)
CIE-LABlab(63.47, -19.11, 60.86)
CIE-LCHlch(63.47, 63.79, 107.43°)
OKLaboklab(67.86% -0.0593 0.1319)
OKLCHoklch(67.86% 0.145 114.2)
XYZxyz(25.7300, 32.1583, 6.0139)
Luminance0.3216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A11D #271DA1
analogous
#A1691D #97A11D #55A11D
triadic
#97A11D #1D97A1 #A11D97
tetradic
#97A11D #1DA169 #271DA1 #A11D55
square
#97A11D #1DA169 #271DA1 #A11D55
split-complementary
#97A11D #1D55A1 #691DA1
monochromatic
#36390A #666D14 #97A11D #C8D526 #D6E158

Accessibility & contrast

On white

2.83
#97A11D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#97A11D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A11D
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A11D#FFFFFF#000000##000000
##97A11D1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#AD9B2A
Tritanopia (blue-blind)
#A29789
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #97a11d;
/* rgb */ color: rgb(151, 161, 29);
/* oklch */ color: oklch(67.9% 0.145 114.2);
Tailwind
colors: {
  custom: {
    50: '#b9bc67',
    500: '#97a11d',
    950: '#000000',
  },
}
SCSS
$custom: #97a11d;
$custom-light: #b9bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#97a11d",
  "rgb": {
    "r": 151,
    "g": 161,
    "b": 29
  },
  "hsl": {
    "h": 64.545,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.67858,
    "c": 0.14459,
    "h": 114.2
  },
  "luminance": 0.32158
}

Semantic roles & 50–950 ramp

primary
#97A11D
secondary
#5E55C4
accent
#3CEC49
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #97A11D

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

Preview Lab → · Contrast checker → · Palette generator →

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