#8CA02F#8CA02F

#8CA02F is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 66.9% C 0.137 H 119.0°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8CA02F
RGBrgb(140, 160, 47)
HSLhsl(71, 55%, 41%)
HSVhsv(71, 71%, 63%)
CMYKcmyk(12.5%, 0%, 70.6%, 37.3%)
CIE-LABlab(62.44, -22.52, 53.63)
CIE-LCHlch(62.44, 58.17, 112.78°)
OKLaboklab(66.85% -0.0666 0.1201)
OKLCHoklch(66.85% 0.137 119)
XYZxyz(23.8996, 30.9225, 7.3984)
Luminance0.3092 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA02F #432FA0
analogous
#A07B2F #8CA02F #54A02F
triadic
#8CA02F #2F8CA0 #A02F8C
tetradic
#8CA02F #2FA07B #432FA0 #A02F54
square
#8CA02F #2FA07B #432FA0 #A02F54
split-complementary
#8CA02F #2F54A0 #7B2FA0
monochromatic
#394113 #637121 #8CA02F #B1C844 #C5D673

Accessibility & contrast

On white

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

On black

7.18
#8CA02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA02F
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA02F#FFFFFF#000000##000000
##8CA02F1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA971D
Deuteranopia (green-blind)
#A89738
Tritanopia (blue-blind)
#94978A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8ca02f;
/* rgb */ color: rgb(140, 160, 47);
/* oklch */ color: oklch(66.9% 0.137 119.0);
Tailwind
colors: {
  custom: {
    50: '#b1bc6f',
    500: '#8ca02f',
    950: '#000000',
  },
}
SCSS
$custom: #8ca02f;
$custom-light: #b1bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca02f",
  "rgb": {
    "r": 140,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 70.619,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66851,
    "c": 0.13734,
    "h": 119
  },
  "luminance": 0.30922
}

Semantic roles & 50–950 ramp

primary
#8CA02F
secondary
#7B6DBE
accent
#4ADE64
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8CA02F

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

Preview Lab → · Contrast checker → · Palette generator →

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