#3E540F#3E540F

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

Color values

HEX#3E540F
RGBrgb(62, 84, 15)
HSLhsl(79, 70%, 19%)
HSVhsv(79, 82%, 33%)
CMYKcmyk(26.2%, 0%, 82.1%, 67.1%)
CIE-LABlab(32.70, -19.57, 34.94)
CIE-LCHlch(32.70, 40.05, 119.26°)
OKLaboklab(41.32% -0.0566 0.0774)
OKLCHoklch(41.32% 0.096 126.2)
XYZxyz(5.2432, 7.3992, 1.6038)
Luminance0.0740 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E540F #250F54
analogous
#54480F #3E540F #1C540F
triadic
#3E540F #0F3E54 #540F3E
tetradic
#3E540F #0F5448 #250F54 #540F1C
square
#3E540F #0F5448 #250F54 #540F1C
split-complementary
#3E540F #0F1C54 #480F54
monochromatic
#131A05 #182006 #3E540F #648818 #8BBC22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E540F#FFFFFF#000000##FFFFFF
##3E540F1.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)
#594E02
Deuteranopia (green-blind)
#564D16
Tritanopia (blue-blind)
#415047
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3e540f;
/* rgb */ color: rgb(62, 84, 15);
/* oklch */ color: oklch(41.3% 0.096 126.2);
Tailwind
colors: {
  custom: {
    50: '#768454',
    500: '#3e540f',
    950: '#000000',
  },
}
SCSS
$custom: #3e540f;
$custom-light: #768454;
$custom-dark: #000000;
JSON
{
  "hex": "#3e540f",
  "rgb": {
    "r": 62,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 79.13,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.41319,
    "c": 0.09588,
    "h": 126.2
  },
  "luminance": 0.07399
}

Semantic roles & 50–950 ramp

primary
#3E540F
secondary
#4F318E
accent
#3BED74
background
#F7F8F5
surface
#EDEFE8
border
#C8CAC4
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3E540F

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

Preview Lab → · Contrast checker → · Palette generator →

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