#8CA020#8CA020

#8CA020 is a light, vivid yellow. Relative luminance 0.308; OKLCH L 66.8% C 0.146 H 118.6°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8CA020
RGBrgb(140, 160, 32)
HSLhsl(69, 67%, 38%)
HSVhsv(69, 80%, 63%)
CMYKcmyk(12.5%, 0%, 80%, 37.3%)
CIE-LABlab(62.36, -23.27, 58.70)
CIE-LCHlch(62.36, 63.14, 111.63°)
OKLaboklab(66.76% -0.07 0.1282)
OKLCHoklch(66.76% 0.146 118.6)
XYZxyz(23.6473, 30.8215, 6.0696)
Luminance0.3082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA020 #3420A0
analogous
#A07420 #8CA020 #4CA020
triadic
#8CA020 #208CA0 #A0208C
tetradic
#8CA020 #20A074 #3420A0 #A0204C
square
#8CA020 #20A074 #3420A0 #A0204C
split-complementary
#8CA020 #204CA0 #7420A0
monochromatic
#333A0C #5F6D16 #8CA020 #B9D32A #CADE5C

Accessibility & contrast

On white

2.93
#8CA020 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#8CA020 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA020
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA020#FFFFFF#000000##000000
##8CA0201.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#A9972D
Tritanopia (blue-blind)
#959789
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8ca020;
/* rgb */ color: rgb(140, 160, 32);
/* oklch */ color: oklch(66.8% 0.146 118.6);
Tailwind
colors: {
  custom: {
    50: '#b1bc68',
    500: '#8ca020',
    950: '#000000',
  },
}
SCSS
$custom: #8ca020;
$custom-light: #b1bc68;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca020",
  "rgb": {
    "r": 140,
    "g": 160,
    "b": 32
  },
  "hsl": {
    "h": 69.375,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.66755,
    "c": 0.14605,
    "h": 118.6
  },
  "luminance": 0.30821
}

Semantic roles & 50–950 ramp

primary
#8CA020
secondary
#6A59C3
accent
#3EEA59
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA020

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

Preview Lab → · Contrast checker → · Palette generator →

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