#3E5C12#3E5C12

#3E5C12 is a dark, moderate yellow-green. Relative luminance 0.087; OKLCH L 43.6% C 0.105 H 129.6°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#3E5C12
RGBrgb(62, 92, 18)
HSLhsl(84, 67%, 22%)
HSVhsv(84, 80%, 36%)
CMYKcmyk(32.6%, 0%, 80.4%, 63.9%)
CIE-LABlab(35.44, -23.51, 36.43)
CIE-LCHlch(35.44, 43.35, 122.84°)
OKLaboklab(43.56% -0.067 0.0811)
OKLCHoklch(43.56% 0.105 129.6)
XYZxyz(5.9229, 8.7219, 1.9436)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5C12 #30125C
analogous
#5C5512 #3E5C12 #195C12
triadic
#3E5C12 #123E5C #5C123E
tetradic
#3E5C12 #125C55 #30125C #5C1219
square
#3E5C12 #125C55 #30125C #5C1219
split-complementary
#3E5C12 #12195C #55125C
monochromatic
#111A05 #1C2908 #3E5C12 #608F1C #83C226

Accessibility & contrast

On white

7.65
#3E5C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3E5C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E5C12
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5C12#FFFFFF#000000##FFFFFF
##3E5C121.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615503
Deuteranopia (green-blind)
#5D5319
Tritanopia (blue-blind)
#40584E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3e5c12;
/* rgb */ color: rgb(62, 92, 18);
/* oklch */ color: oklch(43.6% 0.105 129.6);
Tailwind
colors: {
  custom: {
    50: '#768a56',
    500: '#3e5c12',
    950: '#000000',
  },
}
SCSS
$custom: #3e5c12;
$custom-light: #768a56;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5c12",
  "rgb": {
    "r": 62,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 84.324,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43555,
    "c": 0.1052,
    "h": 129.6
  },
  "luminance": 0.08722
}

Semantic roles & 50–950 ramp

primary
#3E5C12
secondary
#5C3594
accent
#3EEA84
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3E5C12

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

Preview Lab → · Contrast checker → · Palette generator →

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