#8AA116#8AA116

#8AA116 is a light, vivid yellow. Relative luminance 0.310; OKLCH L 66.8% C 0.152 H 119.6°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8AA116
RGBrgb(138, 161, 22)
HSLhsl(70, 76%, 36%)
HSVhsv(70, 86%, 63%)
CMYKcmyk(14.3%, 0%, 86.3%, 36.9%)
CIE-LABlab(62.47, -24.97, 61.35)
CIE-LCHlch(62.47, 66.23, 112.15°)
OKLaboklab(66.79% -0.0752 0.1323)
OKLCHoklch(66.79% 0.152 119.6)
XYZxyz(23.3715, 30.9511, 5.5018)
Luminance0.3095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA116 #2D16A1
analogous
#A17216 #8AA116 #44A116
triadic
#8AA116 #168AA1 #A1168A
tetradic
#8AA116 #16A172 #2D16A1 #A11644
square
#8AA116 #16A172 #2D16A1 #A11644
split-complementary
#8AA116 #1644A1 #7216A1
monochromatic
#2E3507 #5C6B0F #8AA116 #B8D71D #CDE64B

Accessibility & contrast

On white

2.92
#8AA116 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#8AA116 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA116
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA116#FFFFFF#000000##000000
##8AA1161.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#A99727
Tritanopia (blue-blind)
#939889
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8aa116;
/* rgb */ color: rgb(138, 161, 22);
/* oklch */ color: oklch(66.8% 0.152 119.6);
Tailwind
colors: {
  custom: {
    50: '#b0bc64',
    500: '#8aa116',
    950: '#000000',
  },
}
SCSS
$custom: #8aa116;
$custom-light: #b0bc64;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa116",
  "rgb": {
    "r": 138,
    "g": 161,
    "b": 22
  },
  "hsl": {
    "h": 69.928,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.66794,
    "c": 0.15215,
    "h": 119.6
  },
  "luminance": 0.30951
}

Semantic roles & 50–950 ramp

primary
#8AA116
secondary
#604BC8
accent
#35F355
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111206
muted
#80817A

Preview Lab

Preview with #8AA116

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

Preview Lab → · Contrast checker → · Palette generator →

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