#97A71E#97A71E

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

Color values

HEX#97A71E
RGBrgb(151, 167, 30)
HSLhsl(67, 70%, 39%)
HSVhsv(67, 82%, 65%)
CMYKcmyk(9.6%, 0%, 82%, 34.5%)
CIE-LABlab(65.21, -22.10, 62.10)
CIE-LCHlch(65.21, 65.91, 109.59°)
OKLaboklab(69.25% -0.0675 0.1347)
OKLCHoklch(69.25% 0.151 116.6)
XYZxyz(26.8163, 34.3109, 6.4380)
Luminance0.3431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A71E #2E1EA7
analogous
#A7721E #97A71E #52A71E
triadic
#97A71E #1E97A7 #A71E97
tetradic
#97A71E #1EA772 #2E1EA7 #A71E52
square
#97A71E #1EA772 #2E1EA7 #A71E52
split-complementary
#97A71E #1E52A7 #721EA7
monochromatic
#393F0B #687315 #97A71E #C4D92A #D2E25D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A71E#FFFFFF#000000##000000
##97A71E1.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: #97a71e;
/* rgb */ color: rgb(151, 167, 30);
/* oklch */ color: oklch(69.3% 0.151 116.6);
Tailwind
colors: {
  custom: {
    50: '#b9c168',
    500: '#97a71e',
    950: '#000000',
  },
}
SCSS
$custom: #97a71e;
$custom-light: #b9c168;
$custom-dark: #000000;
JSON
{
  "hex": "#97a71e",
  "rgb": {
    "r": 151,
    "g": 167,
    "b": 30
  },
  "hsl": {
    "h": 67.007,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.69253,
    "c": 0.15067,
    "h": 116.6
  },
  "luminance": 0.3431
}

Semantic roles & 50–950 ramp

primary
#97A71E
secondary
#675BC6
accent
#3BEC50
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #97A71E

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

Preview Lab → · Contrast checker → · Palette generator →

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