#3C5F12#3C5F12

#3C5F12 is a dark, moderate yellow-green. Relative luminance 0.092; OKLCH L 44.3% C 0.111 H 131.4°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#3C5F12
RGBrgb(60, 95, 18)
HSLhsl(87, 68%, 22%)
HSVhsv(87, 81%, 37%)
CMYKcmyk(36.8%, 0%, 81.1%, 62.7%)
CIE-LABlab(36.34, -25.82, 37.25)
CIE-LCHlch(36.34, 45.33, 124.73°)
OKLaboklab(44.26% -0.0732 0.0829)
OKLCHoklch(44.26% 0.111 131.4)
XYZxyz(6.0648, 9.1885, 2.0262)
Luminance0.0919 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5F12 #35125F
analogous
#5F5C12 #3C5F12 #155F12
triadic
#3C5F12 #123C5F #5F123C
tetradic
#3C5F12 #125F5C #35125F #5F1215
square
#3C5F12 #125F5C #35125F #5F1215
split-complementary
#3C5F12 #12155F #5C125F
monochromatic
#101A05 #1C2C08 #3C5F12 #5C921C #7DC625

Accessibility & contrast

On white

7.40
#3C5F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#3C5F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C5F12
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C5F12#FFFFFF#000000##FFFFFF
##3C5F121.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635702
Deuteranopia (green-blind)
#5F551A
Tritanopia (blue-blind)
#3D5B50
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3c5f12;
/* rgb */ color: rgb(60, 95, 18);
/* oklch */ color: oklch(44.3% 0.111 131.4);
Tailwind
colors: {
  custom: {
    50: '#758c57',
    500: '#3c5f12',
    950: '#000000',
  },
}
SCSS
$custom: #3c5f12;
$custom-light: #758c57;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5f12",
  "rgb": {
    "r": 60,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 87.273,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44257,
    "c": 0.11054,
    "h": 131.4
  },
  "luminance": 0.09189
}

Semantic roles & 50–950 ramp

primary
#3C5F12
secondary
#623697
accent
#3DEB8C
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3C5F12

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

Preview Lab → · Contrast checker → · Palette generator →

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