#8AA115#8AA115

#8AA115 is a light, vivid yellow. Relative luminance 0.309; 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#8AA115
RGBrgb(138, 161, 21)
HSLhsl(70, 77%, 36%)
HSVhsv(70, 87%, 63%)
CMYKcmyk(14.3%, 0%, 87%, 36.9%)
CIE-LABlab(62.46, -25.00, 61.57)
CIE-LCHlch(62.46, 66.45, 112.10°)
OKLaboklab(66.79% -0.0753 0.1326)
OKLCHoklch(66.79% 0.152 119.6)
XYZxyz(23.3620, 30.9473, 5.4520)
Luminance0.3095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA115 #2C15A1
analogous
#A17215 #8AA115 #44A115
triadic
#8AA115 #158AA1 #A1158A
tetradic
#8AA115 #15A172 #2C15A1 #A11544
square
#8AA115 #15A172 #2C15A1 #A11544
split-complementary
#8AA115 #1544A1 #7215A1
monochromatic
#2D3507 #5C6B0E #8AA115 #B8D71C #CDE749

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8AA115#FFFFFF#000000##000000
##8AA1151.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)
#A99726
Tritanopia (blue-blind)
#939889
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8aa115;
/* rgb */ color: rgb(138, 161, 21);
/* oklch */ color: oklch(66.8% 0.152 119.6);
Tailwind
colors: {
  custom: {
    50: '#b0bc64',
    500: '#8aa115',
    950: '#000000',
  },
}
SCSS
$custom: #8aa115;
$custom-light: #b0bc64;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa115",
  "rgb": {
    "r": 138,
    "g": 161,
    "b": 21
  },
  "hsl": {
    "h": 69.857,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.66791,
    "c": 0.15249,
    "h": 119.6
  },
  "luminance": 0.30947
}

Semantic roles & 50–950 ramp

primary
#8AA115
secondary
#5E49C8
accent
#34F354
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111206
muted
#80817A

Preview Lab

Preview with #8AA115

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

Preview Lab → · Contrast checker → · Palette generator →

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