#8CA028#8CA028

#8CA028 is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 66.8% C 0.142 H 118.8°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8CA028
RGBrgb(140, 160, 40)
HSLhsl(70, 60%, 39%)
HSVhsv(70, 75%, 63%)
CMYKcmyk(12.5%, 0%, 75%, 37.3%)
CIE-LABlab(62.40, -22.91, 56.16)
CIE-LCHlch(62.40, 60.65, 112.19°)
OKLaboklab(66.8% -0.0683 0.1242)
OKLCHoklch(66.8% 0.142 118.8)
XYZxyz(23.7695, 30.8704, 6.7135)
Luminance0.3087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA028 #3C28A0
analogous
#A07828 #8CA028 #50A028
triadic
#8CA028 #288CA0 #A0288C
tetradic
#8CA028 #28A078 #3C28A0 #A02850
square
#8CA028 #28A078 #3C28A0 #A02850
split-complementary
#8CA028 #2850A0 #7828A0
monochromatic
#363E10 #616F1C #8CA028 #B4CD38 #C7D969

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CA028#FFFFFF#000000##000000
##8CA0281.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)
#AB970E
Deuteranopia (green-blind)
#A89733
Tritanopia (blue-blind)
#959789
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8ca028;
/* rgb */ color: rgb(140, 160, 40);
/* oklch */ color: oklch(66.8% 0.142 118.8);
Tailwind
colors: {
  custom: {
    50: '#b1bc6b',
    500: '#8ca028',
    950: '#000000',
  },
}
SCSS
$custom: #8ca028;
$custom-light: #b1bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca028",
  "rgb": {
    "r": 140,
    "g": 160,
    "b": 40
  },
  "hsl": {
    "h": 70,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66802,
    "c": 0.14177,
    "h": 118.8
  },
  "luminance": 0.3087
}

Semantic roles & 50–950 ramp

primary
#8CA028
secondary
#7364C0
accent
#45E35F
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA028

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

Preview Lab → · Contrast checker → · Palette generator →

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