#97A017#97A017

#97A017 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#97A017
RGBrgb(151, 160, 23)
HSLhsl(64, 75%, 36%)
HSVhsv(64, 86%, 63%)
CMYKcmyk(5.6%, 0%, 85.6%, 37.3%)
CIE-LABlab(63.16, -18.79, 62.10)
CIE-LCHlch(63.16, 64.88, 106.83°)
OKLaboklab(67.6% -0.0588 0.1335)
OKLCHoklch(67.6% 0.146 113.8)
XYZxyz(25.4888, 31.7833, 5.6025)
Luminance0.3178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A017 #2017A0
analogous
#A06417 #97A017 #52A017
triadic
#97A017 #1797A0 #A01797
tetradic
#97A017 #17A064 #2017A0 #A01752
square
#97A017 #17A064 #2017A0 #A01752
split-complementary
#97A017 #1752A0 #6417A0
monochromatic
#323508 #646A0F #97A017 #C9D61F #DBE54C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A017#FFFFFF#000000##000000
##97A0171.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: #97a017;
/* rgb */ color: rgb(151, 160, 23);
/* oklch */ color: oklch(67.6% 0.146 113.8);
Tailwind
colors: {
  custom: {
    50: '#babb65',
    500: '#97a017',
    950: '#000000',
  },
}
SCSS
$custom: #97a017;
$custom-light: #babb65;
$custom-dark: #000000;
JSON
{
  "hex": "#97a017",
  "rgb": {
    "r": 151,
    "g": 160,
    "b": 23
  },
  "hsl": {
    "h": 63.942,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.67602,
    "c": 0.14591,
    "h": 113.8
  },
  "luminance": 0.31783
}

Semantic roles & 50–950 ramp

primary
#97A017
secondary
#544CC7
accent
#36F143
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #97A017

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

Preview Lab → · Contrast checker → · Palette generator →

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