#97A016#97A016

#97A016 is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.6% C 0.146 H 113.8°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#97A016
RGBrgb(151, 160, 22)
HSLhsl(64, 76%, 36%)
HSVhsv(64, 86%, 63%)
CMYKcmyk(5.6%, 0%, 86.3%, 37.3%)
CIE-LABlab(63.16, -18.82, 62.32)
CIE-LCHlch(63.16, 65.10, 106.80°)
OKLaboklab(67.6% -0.059 0.1338)
OKLCHoklch(67.6% 0.146 113.8)
XYZxyz(25.4790, 31.7794, 5.5508)
Luminance0.3178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A016 #1F16A0
analogous
#A06416 #97A016 #52A016
triadic
#97A016 #1697A0 #A01697
tetradic
#97A016 #16A064 #1F16A0 #A01652
square
#97A016 #16A064 #1F16A0 #A01652
split-complementary
#97A016 #1652A0 #6416A0
monochromatic
#313407 #646A0F #97A016 #CAD61D #DCE64A

Accessibility & contrast

On white

2.85
#97A016 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#97A016 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A016
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A016#FFFFFF#000000##000000
##97A0161.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AC9A26
Tritanopia (blue-blind)
#A29688
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #97a016;
/* rgb */ color: rgb(151, 160, 22);
/* oklch */ color: oklch(67.6% 0.146 113.8);
Tailwind
colors: {
  custom: {
    50: '#babb64',
    500: '#97a016',
    950: '#000000',
  },
}
SCSS
$custom: #97a016;
$custom-light: #babb64;
$custom-dark: #000000;
JSON
{
  "hex": "#97a016",
  "rgb": {
    "r": 151,
    "g": 160,
    "b": 22
  },
  "hsl": {
    "h": 63.913,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.67599,
    "c": 0.14625,
    "h": 113.8
  },
  "luminance": 0.31779
}

Semantic roles & 50–950 ramp

primary
#97A016
secondary
#524AC8
accent
#35F242
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #97A016

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

Preview Lab → · Contrast checker → · Palette generator →

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