#3C8218#3C8218

#3C8218 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.0% C 0.153 H 137.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#3C8218
RGBrgb(60, 130, 24)
HSLhsl(100, 69%, 30%)
HSVhsv(100, 82%, 51%)
CMYKcmyk(53.8%, 0%, 81.5%, 49%)
CIE-LABlab(48.25, -40.81, 46.49)
CIE-LCHlch(48.25, 61.86, 131.28°)
OKLaboklab(54.04% -0.1131 0.1032)
OKLCHoklch(54.04% 0.153 137.6)
XYZxyz(10.0106, 16.9911, 3.6161)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C8218 #5E1882
analogous
#718218 #3C8218 #188229
triadic
#3C8218 #183C82 #82183C
tetradic
#3C8218 #187182 #5E1882 #822918
square
#3C8218 #187182 #5E1882 #822918
split-complementary
#3C8218 #291882 #821871
monochromatic
#0C1B05 #244E0E #3C8218 #54B622 #70DB3A

Accessibility & contrast

On white

4.77
#3C8218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#3C8218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C8218
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C8218#FFFFFF#000000##FFFFFF
##3C82181.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#377D6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3c8218;
/* rgb */ color: rgb(60, 130, 24);
/* oklch */ color: oklch(54.0% 0.153 137.6);
Tailwind
colors: {
  custom: {
    50: '#7aa75f',
    500: '#3c8218',
    950: '#000000',
  },
}
SCSS
$custom: #3c8218;
$custom-light: #7aa75f;
$custom-dark: #000000;
JSON
{
  "hex": "#3c8218",
  "rgb": {
    "r": 60,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 99.623,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54035,
    "c": 0.15309,
    "h": 137.6
  },
  "luminance": 0.16992
}

Semantic roles & 50–950 ramp

primary
#3C8218
secondary
#8E40B6
accent
#3CECB0
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3C8218

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

Preview Lab → · Contrast checker → · Palette generator →

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