#8CA115#8CA115

#8CA115 is a light, vivid yellow. Relative luminance 0.311; OKLCH L 66.9% C 0.152 H 118.8°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8CA115
RGBrgb(140, 161, 21)
HSLhsl(69, 77%, 36%)
HSVhsv(69, 87%, 63%)
CMYKcmyk(13%, 0%, 87%, 36.9%)
CIE-LABlab(62.61, -24.14, 61.74)
CIE-LCHlch(62.61, 66.30, 111.35°)
OKLaboklab(66.94% -0.0731 0.1329)
OKLCHoklch(66.94% 0.152 118.8)
XYZxyz(23.6960, 31.1195, 5.4677)
Luminance0.3112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA115 #2A15A1
analogous
#A17015 #8CA115 #46A115
triadic
#8CA115 #158CA1 #A1158C
tetradic
#8CA115 #15A170 #2A15A1 #A11546
square
#8CA115 #15A170 #2A15A1 #A11546
split-complementary
#8CA115 #1546A1 #7015A1
monochromatic
#2E3507 #5D6B0E #8CA115 #BBD71C #D0E749

Accessibility & contrast

On white

2.91
#8CA115 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#8CA115 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA115
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA115#FFFFFF#000000##000000
##8CA1151.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ca115;
/* rgb */ color: rgb(140, 161, 21);
/* oklch */ color: oklch(66.9% 0.152 118.8);
Tailwind
colors: {
  custom: {
    50: '#b2bc64',
    500: '#8ca115',
    950: '#000000',
  },
}
SCSS
$custom: #8ca115;
$custom-light: #b2bc64;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca115",
  "rgb": {
    "r": 140,
    "g": 161,
    "b": 21
  },
  "hsl": {
    "h": 69,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.66945,
    "c": 0.15166,
    "h": 118.8
  },
  "luminance": 0.31119
}

Semantic roles & 50–950 ramp

primary
#8CA115
secondary
#5C49C8
accent
#34F351
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111206
muted
#80817A

Preview Lab

Preview with #8CA115

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

Preview Lab → · Contrast checker → · Palette generator →

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