#3C8118#3C8118

#3C8118 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.8% C 0.152 H 137.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#3C8118
RGBrgb(60, 129, 24)
HSLhsl(99, 69%, 30%)
HSVhsv(99, 81%, 51%)
CMYKcmyk(53.5%, 0%, 81.4%, 49.4%)
CIE-LABlab(47.91, -40.41, 46.17)
CIE-LCHlch(47.91, 61.36, 131.19°)
OKLaboklab(53.76% -0.112 0.1025)
OKLCHoklch(53.76% 0.152 137.5)
XYZxyz(9.8783, 16.7264, 3.5720)
Luminance0.1673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C8118 #5D1881
analogous
#708118 #3C8118 #188129
triadic
#3C8118 #183C81 #81183C
tetradic
#3C8118 #187081 #5D1881 #812918
square
#3C8118 #187081 #5D1881 #812918
split-complementary
#3C8118 #291881 #811870
monochromatic
#0C1A05 #244D0E #3C8118 #54B522 #70DA39

Accessibility & contrast

On white

4.83
#3C8118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#3C8118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C8118
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C8118#FFFFFF#000000##FFFFFF
##3C81181.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#377C6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3c8118;
/* rgb */ color: rgb(60, 129, 24);
/* oklch */ color: oklch(53.8% 0.152 137.5);
Tailwind
colors: {
  custom: {
    50: '#7aa65e',
    500: '#3c8118',
    950: '#000000',
  },
}
SCSS
$custom: #3c8118;
$custom-light: #7aa65e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c8118",
  "rgb": {
    "r": 60,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 99.429,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.53759,
    "c": 0.15185,
    "h": 137.5
  },
  "luminance": 0.16727
}

Semantic roles & 50–950 ramp

primary
#3C8118
secondary
#8D40B5
accent
#3CEBAF
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3C8118

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

Preview Lab → · Contrast checker → · Palette generator →

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