#97A018#97A018

#97A018 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#97A018
RGBrgb(151, 160, 24)
HSLhsl(64, 74%, 36%)
HSVhsv(64, 85%, 63%)
CMYKcmyk(5.6%, 0%, 85%, 37.3%)
CIE-LABlab(63.17, -18.76, 61.87)
CIE-LCHlch(63.17, 64.65, 106.87°)
OKLaboklab(67.61% -0.0587 0.1332)
OKLCHoklch(67.61% 0.146 113.8)
XYZxyz(25.4990, 31.7874, 5.6563)
Luminance0.3179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A018 #2118A0
analogous
#A06518 #97A018 #53A018
triadic
#97A018 #1897A0 #A01897
tetradic
#97A018 #18A065 #2118A0 #A01853
square
#97A018 #18A065 #2118A0 #A01853
split-complementary
#97A018 #1853A0 #6518A0
monochromatic
#333608 #656B10 #97A018 #C9D520 #DAE44E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A018#FFFFFF#000000##000000
##97A0181.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)
#AC9A27
Tritanopia (blue-blind)
#A29688
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #97a018;
/* rgb */ color: rgb(151, 160, 24);
/* oklch */ color: oklch(67.6% 0.146 113.8);
Tailwind
colors: {
  custom: {
    50: '#b9bb65',
    500: '#97a018',
    950: '#000000',
  },
}
SCSS
$custom: #97a018;
$custom-light: #b9bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#97a018",
  "rgb": {
    "r": 151,
    "g": 160,
    "b": 24
  },
  "hsl": {
    "h": 63.971,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.67606,
    "c": 0.14554,
    "h": 113.8
  },
  "luminance": 0.31787
}

Semantic roles & 50–950 ramp

primary
#97A018
secondary
#554DC6
accent
#37F144
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #97A018

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

Preview Lab → · Contrast checker → · Palette generator →

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