#8CA015#8CA015

#8CA015 is a light, vivid yellow. Relative luminance 0.308; OKLCH L 66.7% C 0.151 H 118.4°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8CA015
RGBrgb(140, 160, 21)
HSLhsl(69, 77%, 35%)
HSVhsv(69, 87%, 63%)
CMYKcmyk(12.5%, 0%, 86.9%, 37.3%)
CIE-LABlab(62.31, -23.64, 61.50)
CIE-LCHlch(62.31, 65.89, 111.03°)
OKLaboklab(66.71% -0.0717 0.1324)
OKLCHoklch(66.71% 0.151 118.4)
XYZxyz(23.5220, 30.7714, 5.4097)
Luminance0.3077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA015 #2915A0
analogous
#A06E15 #8CA015 #46A015
triadic
#8CA015 #158CA0 #A0158C
tetradic
#8CA015 #15A06E #2915A0 #A01546
square
#8CA015 #15A06E #2915A0 #A01546
split-complementary
#8CA015 #1546A0 #6E15A0
monochromatic
#2D3407 #5D6A0E #8CA015 #BBD61C #D0E748

Accessibility & contrast

On white

2.94
#8CA015 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#8CA015 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA015
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA015#FFFFFF#000000##000000
##8CA0151.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#A99726
Tritanopia (blue-blind)
#959788
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8ca015;
/* rgb */ color: rgb(140, 160, 21);
/* oklch */ color: oklch(66.7% 0.151 118.4);
Tailwind
colors: {
  custom: {
    50: '#b2bc64',
    500: '#8ca015',
    950: '#000000',
  },
}
SCSS
$custom: #8ca015;
$custom-light: #b2bc64;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca015",
  "rgb": {
    "r": 140,
    "g": 160,
    "b": 21
  },
  "hsl": {
    "h": 68.633,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.66707,
    "c": 0.15055,
    "h": 118.4
  },
  "luminance": 0.30771
}

Semantic roles & 50–950 ramp

primary
#8CA015
secondary
#5B49C8
accent
#34F350
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8CA015

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

Preview Lab → · Contrast checker → · Palette generator →

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