#3C7018#3C7018

#3C7018 is a mid, vivid yellow-green. Relative luminance 0.126; OKLCH L 49.0% C 0.130 H 135.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#3C7018
RGBrgb(60, 112, 24)
HSLhsl(95, 65%, 27%)
HSVhsv(95, 79%, 44%)
CMYKcmyk(46.4%, 0%, 78.6%, 56.1%)
CIE-LABlab(42.18, -33.27, 40.67)
CIE-LCHlch(42.18, 52.55, 129.29°)
OKLaboklab(49.04% -0.0928 0.091)
OKLCHoklch(49.04% 0.13 135.6)
XYZxyz(7.8223, 12.6145, 2.8866)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7018 #4C1870
analogous
#687018 #3C7018 #187020
triadic
#3C7018 #183C70 #70183C
tetradic
#3C7018 #186870 #4C1870 #702018
square
#3C7018 #186870 #4C1870 #702018
split-complementary
#3C7018 #201870 #701868
monochromatic
#0D1905 #213E0D #3C7018 #57A223 #72D330

Accessibility & contrast

On white

5.96
#3C7018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#3C7018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7018
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7018#FFFFFF#000000##FFFFFF
##3C70181.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746605
Deuteranopia (green-blind)
#6D6221
Tritanopia (blue-blind)
#3A6C5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3c7018;
/* rgb */ color: rgb(60, 112, 24);
/* oklch */ color: oklch(49.0% 0.130 135.6);
Tailwind
colors: {
  custom: {
    50: '#77995c',
    500: '#3c7018',
    950: '#000000',
  },
}
SCSS
$custom: #3c7018;
$custom-light: #77995c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7018",
  "rgb": {
    "r": 60,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 95.455,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49041,
    "c": 0.12999,
    "h": 135.6
  },
  "luminance": 0.12615
}

Semantic roles & 50–950 ramp

primary
#3C7018
secondary
#7B3EA5
accent
#40E8A3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3C7018

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

Preview Lab → · Contrast checker → · Palette generator →

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