#3C8112#3C8112

#3C8112 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.7% C 0.155 H 137.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3C8112
RGBrgb(60, 129, 18)
HSLhsl(97, 76%, 29%)
HSVhsv(97, 86%, 51%)
CMYKcmyk(53.5%, 0%, 86%, 49.4%)
CIE-LABlab(47.88, -40.73, 47.92)
CIE-LCHlch(47.88, 62.89, 130.36°)
OKLaboklab(53.73% -0.1132 0.1053)
OKLCHoklch(53.73% 0.155 137.1)
XYZxyz(9.8226, 16.7041, 3.2788)
Luminance0.1671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C8112 #571281
analogous
#748112 #3C8112 #128120
triadic
#3C8112 #123C81 #81123C
tetradic
#3C8112 #127481 #571281 #812012
square
#3C8112 #127481 #571281 #812012
split-complementary
#3C8112 #201281 #811274
monochromatic
#0C1B04 #234B0B #3C8112 #55B719 #71E22C

Accessibility & contrast

On white

4.84
#3C8112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#3C8112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C8112
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C8112#FFFFFF#000000##FFFFFF
##3C81121.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#7D7020
Tritanopia (blue-blind)
#377C6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3c8112;
/* rgb */ color: rgb(60, 129, 18);
/* oklch */ color: oklch(53.7% 0.155 137.1);
Tailwind
colors: {
  custom: {
    50: '#7aa65c',
    500: '#3c8112',
    950: '#000000',
  },
}
SCSS
$custom: #3c8112;
$custom-light: #7aa65c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c8112",
  "rgb": {
    "r": 60,
    "g": 129,
    "b": 18
  },
  "hsl": {
    "h": 97.297,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53726,
    "c": 0.15461,
    "h": 137.1
  },
  "luminance": 0.16705
}

Semantic roles & 50–950 ramp

primary
#3C8112
secondary
#8738B7
accent
#36F2AB
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3C8112

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

Preview Lab → · Contrast checker → · Palette generator →

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