#8AA017#8AA017

#8AA017 is a light, vivid yellow. Relative luminance 0.306; OKLCH L 66.6% C 0.151 H 119.3°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8AA017
RGBrgb(138, 160, 23)
HSLhsl(70, 75%, 36%)
HSVhsv(70, 86%, 63%)
CMYKcmyk(13.8%, 0%, 85.6%, 37.3%)
CIE-LABlab(62.17, -24.45, 60.87)
CIE-LCHlch(62.17, 65.60, 111.88°)
OKLaboklab(66.56% -0.0737 0.1314)
OKLCHoklch(66.56% 0.151 119.3)
XYZxyz(23.2072, 30.6069, 5.4956)
Luminance0.3061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA017 #2D17A0
analogous
#A07117 #8AA017 #45A017
triadic
#8AA017 #178AA0 #A0178A
tetradic
#8AA017 #17A071 #2D17A0 #A01745
square
#8AA017 #17A071 #2D17A0 #A01745
split-complementary
#8AA017 #1745A0 #7117A0
monochromatic
#2E3508 #5C6A0F #8AA017 #B8D61F #CDE54C

Accessibility & contrast

On white

2.95
#8AA017 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#8AA017 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA017
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA017#FFFFFF#000000##000000
##8AA0171.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#A89727
Tritanopia (blue-blind)
#939788
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8aa017;
/* rgb */ color: rgb(138, 160, 23);
/* oklch */ color: oklch(66.6% 0.151 119.3);
Tailwind
colors: {
  custom: {
    50: '#b0bc64',
    500: '#8aa017',
    950: '#000000',
  },
}
SCSS
$custom: #8aa017;
$custom-light: #b0bc64;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa017",
  "rgb": {
    "r": 138,
    "g": 160,
    "b": 23
  },
  "hsl": {
    "h": 69.635,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.6656,
    "c": 0.15067,
    "h": 119.3
  },
  "luminance": 0.30607
}

Semantic roles & 50–950 ramp

primary
#8AA017
secondary
#604CC7
accent
#36F154
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111206
muted
#80817A

Preview Lab

Preview with #8AA017

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

Preview Lab → · Contrast checker → · Palette generator →

#8AA017 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva