#3C6018#3C6018

#3C6018 is a dark, moderate yellow-green. Relative luminance 0.094; OKLCH L 44.6% C 0.108 H 132.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#3C6018
RGBrgb(60, 96, 24)
HSLhsl(90, 60%, 24%)
HSVhsv(90, 75%, 38%)
CMYKcmyk(37.5%, 0%, 75%, 62.4%)
CIE-LABlab(36.73, -25.88, 35.23)
CIE-LCHlch(36.73, 43.72, 126.31°)
OKLaboklab(44.58% -0.0728 0.0796)
OKLCHoklch(44.58% 0.108 132.4)
XYZxyz(6.2111, 9.3921, 2.3496)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C6018 #3C1860
analogous
#606018 #3C6018 #186018
triadic
#3C6018 #183C60 #60183C
tetradic
#3C6018 #186060 #3C1860 #601818
square
#3C6018 #186060 #3C1860 #601818
split-complementary
#3C6018 #181860 #601860
monochromatic
#0F1806 #1D2F0C #3C6018 #5B9124 #79C230

Accessibility & contrast

On white

7.30
#3C6018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3C6018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C6018
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C6018#FFFFFF#000000##FFFFFF
##3C60181.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580C
Deuteranopia (green-blind)
#5F551E
Tritanopia (blue-blind)
#3D5C52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3c6018;
/* rgb */ color: rgb(60, 96, 24);
/* oklch */ color: oklch(44.6% 0.108 132.4);
Tailwind
colors: {
  custom: {
    50: '#758d5a',
    500: '#3c6018',
    950: '#000000',
  },
}
SCSS
$custom: #3c6018;
$custom-light: #758d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3c6018",
  "rgb": {
    "r": 60,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 90,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44583,
    "c": 0.10791,
    "h": 132.4
  },
  "luminance": 0.09392
}

Semantic roles & 50–950 ramp

primary
#3C6018
secondary
#6A3D96
accent
#45E394
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #3C6018

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

Preview Lab → · Contrast checker → · Palette generator →

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