#8AA018#8AA018

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

Color values

HEX#8AA018
RGBrgb(138, 160, 24)
HSLhsl(70, 74%, 36%)
HSVhsv(70, 85%, 63%)
CMYKcmyk(13.8%, 0%, 85%, 37.3%)
CIE-LABlab(62.18, -24.42, 60.64)
CIE-LCHlch(62.18, 65.37, 111.93°)
OKLaboklab(66.56% -0.0735 0.1311)
OKLCHoklch(66.56% 0.15 119.3)
XYZxyz(23.2174, 30.6110, 5.5494)
Luminance0.3061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA018 #2E18A0
analogous
#A07218 #8AA018 #46A018
triadic
#8AA018 #188AA0 #A0188A
tetradic
#8AA018 #18A072 #2E18A0 #A01846
square
#8AA018 #18A072 #2E18A0 #A01846
split-complementary
#8AA018 #1846A0 #7218A0
monochromatic
#2E3608 #5C6B10 #8AA018 #B8D520 #CCE44E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8AA018#FFFFFF#000000##000000
##8AA0181.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)
#A89728
Tritanopia (blue-blind)
#939788
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8aa018;
/* rgb */ color: rgb(138, 160, 24);
/* oklch */ color: oklch(66.6% 0.150 119.3);
Tailwind
colors: {
  custom: {
    50: '#b0bc65',
    500: '#8aa018',
    950: '#000000',
  },
}
SCSS
$custom: #8aa018;
$custom-light: #b0bc65;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa018",
  "rgb": {
    "r": 138,
    "g": 160,
    "b": 24
  },
  "hsl": {
    "h": 69.706,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.66564,
    "c": 0.15029,
    "h": 119.3
  },
  "luminance": 0.30611
}

Semantic roles & 50–950 ramp

primary
#8AA018
secondary
#614DC6
accent
#37F155
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111206
muted
#80817A

Preview Lab

Preview with #8AA018

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

Preview Lab → · Contrast checker → · Palette generator →

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