#3E540D#3E540D

#3E540D is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.3% C 0.097 H 126.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#3E540D
RGBrgb(62, 84, 13)
HSLhsl(79, 73%, 19%)
HSVhsv(79, 85%, 33%)
CMYKcmyk(26.2%, 0%, 84.5%, 67.1%)
CIE-LABlab(32.69, -19.69, 35.66)
CIE-LCHlch(32.69, 40.73, 118.90°)
OKLaboklab(41.31% -0.0571 0.0786)
OKLCHoklch(41.31% 0.097 126)
XYZxyz(5.2296, 7.3938, 1.5323)
Luminance0.0739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E540D #230D54
analogous
#54470D #3E540D #1A540D
triadic
#3E540D #0D3E54 #540D3E
tetradic
#3E540D #0D5447 #230D54 #540D1A
square
#3E540D #0D5447 #230D54 #540D1A
split-complementary
#3E540D #0D1A54 #470D54
monochromatic
#141A04 #171F05 #3E540D #658915 #8CBE1D

Accessibility & contrast

On white

8.47
#3E540D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3E540D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E540D
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E540D#FFFFFF#000000##FFFFFF
##3E540D1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E00
Deuteranopia (green-blind)
#564D14
Tritanopia (blue-blind)
#415047
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3e540d;
/* rgb */ color: rgb(62, 84, 13);
/* oklch */ color: oklch(41.3% 0.097 126.0);
Tailwind
colors: {
  custom: {
    50: '#768453',
    500: '#3e540d',
    950: '#000000',
  },
}
SCSS
$custom: #3e540d;
$custom-light: #768453;
$custom-dark: #000000;
JSON
{
  "hex": "#3e540d",
  "rgb": {
    "r": 62,
    "g": 84,
    "b": 13
  },
  "hsl": {
    "h": 78.592,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.41305,
    "c": 0.0971,
    "h": 126
  },
  "luminance": 0.07394
}

Semantic roles & 50–950 ramp

primary
#3E540D
secondary
#4C2E8F
accent
#38F071
background
#F7F8F4
surface
#EDEFE7
border
#C8CAC3
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3E540D

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

Preview Lab → · Contrast checker → · Palette generator →

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