#8CA021#8CA021

#8CA021 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.17:1 contrast (WCAG AA passes).

Color values

HEX#8CA021
RGBrgb(140, 160, 33)
HSLhsl(69, 66%, 38%)
HSVhsv(69, 79%, 63%)
CMYKcmyk(12.5%, 0%, 79.4%, 37.3%)
CIE-LABlab(62.36, -23.23, 58.40)
CIE-LCHlch(62.36, 62.85, 111.69°)
OKLaboklab(66.76% -0.0698 0.1277)
OKLCHoklch(66.76% 0.146 118.6)
XYZxyz(23.6611, 30.8271, 6.1423)
Luminance0.3083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA021 #3521A0
analogous
#A07421 #8CA021 #4CA021
triadic
#8CA021 #218CA0 #A0218C
tetradic
#8CA021 #21A074 #3521A0 #A0214C
square
#8CA021 #21A074 #3521A0 #A0214C
split-complementary
#8CA021 #214CA0 #7421A0
monochromatic
#333B0C #606D17 #8CA021 #B8D32B #CADE5E

Accessibility & contrast

On white

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

On black

7.17
#8CA021 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA021
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA021#FFFFFF#000000##000000
##8CA0211.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.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: #8ca021;
/* rgb */ color: rgb(140, 160, 33);
/* oklch */ color: oklch(66.8% 0.146 118.6);
Tailwind
colors: {
  custom: {
    50: '#b1bc68',
    500: '#8ca021',
    950: '#000000',
  },
}
SCSS
$custom: #8ca021;
$custom-light: #b1bc68;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca021",
  "rgb": {
    "r": 140,
    "g": 160,
    "b": 33
  },
  "hsl": {
    "h": 69.449,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6676,
    "c": 0.14556,
    "h": 118.6
  },
  "luminance": 0.30827
}

Semantic roles & 50–950 ramp

primary
#8CA021
secondary
#6B5BC2
accent
#3FE95A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA021

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

Preview Lab → · Contrast checker → · Palette generator →

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