#8CA538#8CA538

#8CA538 is a light, vivid yellow-green. Relative luminance 0.328; OKLCH L 68.1% C 0.137 H 121.2°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#8CA538
RGBrgb(140, 165, 56)
HSLhsl(74, 49%, 43%)
HSVhsv(74, 66%, 65%)
CMYKcmyk(15.2%, 0%, 66.1%, 35.3%)
CIE-LABlab(63.98, -24.43, 51.58)
CIE-LCHlch(63.98, 57.07, 115.34°)
OKLaboklab(68.11% -0.071 0.1172)
OKLCHoklch(68.11% 0.137 121.2)
XYZxyz(24.9845, 32.7713, 8.7499)
Luminance0.3277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA538 #5138A5
analogous
#A58738 #8CA538 #56A538
triadic
#8CA538 #388CA5 #A5388C
tetradic
#8CA538 #38A587 #5138A5 #A53856
square
#8CA538 #38A587 #5138A5 #A53856
split-complementary
#8CA538 #3856A5 #8738A5
monochromatic
#3E4A19 #657728 #8CA538 #ACC555 #C2D583

Accessibility & contrast

On white

2.78
#8CA538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#8CA538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA538
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA538#FFFFFF#000000##000000
##8CA5381.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B29
Deuteranopia (green-blind)
#AC9B40
Tritanopia (blue-blind)
#939D8F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8ca538;
/* rgb */ color: rgb(140, 165, 56);
/* oklch */ color: oklch(68.1% 0.137 121.2);
Tailwind
colors: {
  custom: {
    50: '#b0bf74',
    500: '#8ca538',
    950: '#000000',
  },
}
SCSS
$custom: #8ca538;
$custom-light: #b0bf74;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca538",
  "rgb": {
    "r": 140,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 73.761,
    "s": 49.321,
    "l": 43.333
  },
  "oklch": {
    "l": 0.68107,
    "c": 0.13703,
    "h": 121.2
  },
  "luminance": 0.32771
}

Semantic roles & 50–950 ramp

primary
#8CA538
secondary
#8A7ABE
accent
#4FD96F
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#111209
muted
#80817B

Preview Lab

Preview with #8CA538

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

Preview Lab → · Contrast checker → · Palette generator →

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