#97A71C#97A71C

#97A71C 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#97A71C
RGBrgb(151, 167, 28)
HSLhsl(67, 71%, 38%)
HSVhsv(67, 83%, 65%)
CMYKcmyk(9.6%, 0%, 83.2%, 34.5%)
CIE-LABlab(65.20, -22.17, 62.61)
CIE-LCHlch(65.20, 66.42, 109.50°)
OKLaboklab(69.24% -0.0678 0.1355)
OKLCHoklch(69.24% 0.151 116.6)
XYZxyz(26.7916, 34.3010, 6.3078)
Luminance0.3430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A71C #2C1CA7
analogous
#A7711C #97A71C #52A71C
triadic
#97A71C #1C97A7 #A71C97
tetradic
#97A71C #1CA771 #2C1CA7 #A71C52
square
#97A71C #1CA771 #2C1CA7 #A71C52
split-complementary
#97A71C #1C52A7 #711CA7
monochromatic
#383E0A #687313 #97A71C #C6DB26 #D4E35A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A71C#FFFFFF#000000##000000
##97A71C1.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)
#B29F2B
Tritanopia (blue-blind)
#A19D8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #97a71c;
/* rgb */ color: rgb(151, 167, 28);
/* oklch */ color: oklch(69.2% 0.151 116.6);
Tailwind
colors: {
  custom: {
    50: '#b9c167',
    500: '#97a71c',
    950: '#000000',
  },
}
SCSS
$custom: #97a71c;
$custom-light: #b9c167;
$custom-dark: #000000;
JSON
{
  "hex": "#97a71c",
  "rgb": {
    "r": 151,
    "g": 167,
    "b": 28
  },
  "hsl": {
    "h": 66.906,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.69244,
    "c": 0.15149,
    "h": 116.6
  },
  "luminance": 0.34301
}

Semantic roles & 50–950 ramp

primary
#97A71C
secondary
#6558C7
accent
#3AEE4F
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #97A71C

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

Preview Lab → · Contrast checker → · Palette generator →

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