#3C8F12#3C8F12

#3C8F12 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.6% C 0.171 H 138.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#3C8F12
RGBrgb(60, 143, 18)
HSLhsl(100, 78%, 32%)
HSVhsv(100, 87%, 56%)
CMYKcmyk(58%, 0%, 87.4%, 43.9%)
CIE-LABlab(52.56, -46.13, 52.08)
CIE-LCHlch(52.56, 69.58, 131.53°)
OKLaboklab(57.59% -0.1277 0.1141)
OKLCHoklch(57.59% 0.171 138.2)
XYZxyz(11.7947, 20.6483, 3.9361)
Luminance0.2065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C8F12 #65128F
analogous
#7B8F12 #3C8F12 #128F27
triadic
#3C8F12 #123C8F #8F123C
tetradic
#3C8F12 #127B8F #65128F #8F2712
square
#3C8F12 #127B8F #65128F #8F2712
split-complementary
#3C8F12 #27128F #8F127B
monochromatic
#0E2204 #25590B #3C8F12 #53C519 #71E636

Accessibility & contrast

On white

4.09
#3C8F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#3C8F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3C8F12
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C8F12#FFFFFF#000000##000000
##3C8F121.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#897B23
Tritanopia (blue-blind)
#348A79
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #3c8f12;
/* rgb */ color: rgb(60, 143, 18);
/* oklch */ color: oklch(57.6% 0.171 138.2);
Tailwind
colors: {
  custom: {
    50: '#7cb05e',
    500: '#3c8f12',
    950: '#000000',
  },
}
SCSS
$custom: #3c8f12;
$custom-light: #7cb05e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c8f12",
  "rgb": {
    "r": 60,
    "g": 143,
    "b": 18
  },
  "hsl": {
    "h": 99.84,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57586,
    "c": 0.1712,
    "h": 138.2
  },
  "luminance": 0.20649
}

Semantic roles & 50–950 ramp

primary
#3C8F12
secondary
#953AC3
accent
#34F4B3
background
#F8FAF5
surface
#EFF5EA
border
#CACFC6
text
#0B1105
muted
#7C8079

Preview Lab

Preview with #3C8F12

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

Preview Lab → · Contrast checker → · Palette generator →

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