#3C8018#3C8018

#3C8018 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.5% C 0.151 H 137.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#3C8018
RGBrgb(60, 128, 24)
HSLhsl(99, 68%, 30%)
HSVhsv(99, 81%, 50%)
CMYKcmyk(53.1%, 0%, 81.3%, 49.8%)
CIE-LABlab(47.58, -40.01, 45.85)
CIE-LCHlch(47.58, 60.85, 131.10°)
OKLaboklab(53.48% -0.1109 0.1019)
OKLCHoklch(53.48% 0.151 137.4)
XYZxyz(9.7472, 16.4642, 3.5283)
Luminance0.1646 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C8018 #5C1880
analogous
#708018 #3C8018 #188028
triadic
#3C8018 #183C80 #80183C
tetradic
#3C8018 #187080 #5C1880 #802818
square
#3C8018 #187080 #5C1880 #802818
split-complementary
#3C8018 #281880 #801870
monochromatic
#0C1A05 #244C0E #3C8018 #54B422 #70DA39

Accessibility & contrast

On white

4.89
#3C8018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#3C8018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C8018
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C8018#FFFFFF#000000##FFFFFF
##3C80181.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#377B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3c8018;
/* rgb */ color: rgb(60, 128, 24);
/* oklch */ color: oklch(53.5% 0.151 137.4);
Tailwind
colors: {
  custom: {
    50: '#79a55e',
    500: '#3c8018',
    950: '#000000',
  },
}
SCSS
$custom: #3c8018;
$custom-light: #79a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c8018",
  "rgb": {
    "r": 60,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 99.231,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53482,
    "c": 0.15061,
    "h": 137.4
  },
  "luminance": 0.16465
}

Semantic roles & 50–950 ramp

primary
#3C8018
secondary
#8C40B4
accent
#3DEBAF
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3C8018

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

Preview Lab → · Contrast checker → · Palette generator →

#3C8018 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva