#3E5D12#3E5D12

#3E5D12 is a dark, moderate yellow-green. Relative luminance 0.089; OKLCH L 43.8% C 0.107 H 129.9°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#3E5D12
RGBrgb(62, 93, 18)
HSLhsl(85, 68%, 22%)
HSVhsv(85, 81%, 36%)
CMYKcmyk(33.3%, 0%, 80.6%, 63.5%)
CIE-LABlab(35.78, -24.01, 36.75)
CIE-LCHlch(35.78, 43.90, 123.15°)
OKLaboklab(43.83% -0.0684 0.0818)
OKLCHoklch(43.83% 0.107 129.9)
XYZxyz(6.0101, 8.8963, 1.9727)
Luminance0.0890 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5D12 #31125D
analogous
#5D5712 #3E5D12 #195D12
triadic
#3E5D12 #123E5D #5D123E
tetradic
#3E5D12 #125D57 #31125D #5D1219
square
#3E5D12 #125D57 #31125D #5D1219
split-complementary
#3E5D12 #12195D #57125D
monochromatic
#111A05 #1C2A08 #3E5D12 #60901C #82C426

Accessibility & contrast

On white

7.56
#3E5D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3E5D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E5D12
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5D12#FFFFFF#000000##FFFFFF
##3E5D121.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625603
Deuteranopia (green-blind)
#5D5319
Tritanopia (blue-blind)
#40594F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3e5d12;
/* rgb */ color: rgb(62, 93, 18);
/* oklch */ color: oklch(43.8% 0.107 129.9);
Tailwind
colors: {
  custom: {
    50: '#768b56',
    500: '#3e5d12',
    950: '#000000',
  },
}
SCSS
$custom: #3e5d12;
$custom-light: #768b56;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5d12",
  "rgb": {
    "r": 62,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 84.8,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43832,
    "c": 0.1066,
    "h": 129.9
  },
  "luminance": 0.08897
}

Semantic roles & 50–950 ramp

primary
#3E5D12
secondary
#5D3595
accent
#3DEA85
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3E5D12

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

Preview Lab → · Contrast checker → · Palette generator →

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