#8AA015#8AA015

#8AA015 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#8AA015
RGBrgb(138, 160, 21)
HSLhsl(69, 77%, 35%)
HSVhsv(69, 87%, 63%)
CMYKcmyk(13.8%, 0%, 86.9%, 37.3%)
CIE-LABlab(62.17, -24.51, 61.32)
CIE-LCHlch(62.17, 66.03, 111.78°)
OKLaboklab(66.55% -0.074 0.1321)
OKLCHoklch(66.55% 0.151 119.3)
XYZxyz(23.1879, 30.5992, 5.3940)
Luminance0.3060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA015 #2B15A0
analogous
#A07015 #8AA015 #45A015
triadic
#8AA015 #158AA0 #A0158A
tetradic
#8AA015 #15A070 #2B15A0 #A01545
square
#8AA015 #15A070 #2B15A0 #A01545
split-complementary
#8AA015 #1545A0 #7015A0
monochromatic
#2D3407 #5B6A0E #8AA015 #B9D61C #CEE748

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8aa015;
/* rgb */ color: rgb(138, 160, 21);
/* oklch */ color: oklch(66.6% 0.151 119.3);
Tailwind
colors: {
  custom: {
    50: '#b0bc64',
    500: '#8aa015',
    950: '#000000',
  },
}
SCSS
$custom: #8aa015;
$custom-light: #b0bc64;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa015",
  "rgb": {
    "r": 138,
    "g": 160,
    "b": 21
  },
  "hsl": {
    "h": 69.496,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.66553,
    "c": 0.15137,
    "h": 119.3
  },
  "luminance": 0.30599
}

Semantic roles & 50–950 ramp

primary
#8AA015
secondary
#5D49C8
accent
#34F353
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111206
muted
#80817A

Preview Lab

Preview with #8AA015

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

Preview Lab → · Contrast checker → · Palette generator →

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