#3D540D#3D540D

#3D540D is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.2% C 0.098 H 126.6°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#3D540D
RGBrgb(61, 84, 13)
HSLhsl(79, 73%, 19%)
HSVhsv(79, 85%, 33%)
CMYKcmyk(27.4%, 0%, 84.5%, 67.1%)
CIE-LABlab(32.62, -20.14, 35.57)
CIE-LCHlch(32.62, 40.87, 119.52°)
OKLaboklab(41.23% -0.0582 0.0784)
OKLCHoklch(41.23% 0.098 126.6)
XYZxyz(5.1675, 7.3617, 1.5294)
Luminance0.0736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D540D #240D54
analogous
#54480D #3D540D #1A540D
triadic
#3D540D #0D3D54 #540D3D
tetradic
#3D540D #0D5448 #240D54 #540D1A
square
#3D540D #0D5448 #240D54 #540D1A
split-complementary
#3D540D #0D1A54 #480D54
monochromatic
#131A04 #171F05 #3D540D #638915 #8ABE1D

Accessibility & contrast

On white

8.49
#3D540D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3D540D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D540D
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D540D#FFFFFF#000000##FFFFFF
##3D540D1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d540d;
/* rgb */ color: rgb(61, 84, 13);
/* oklch */ color: oklch(41.2% 0.098 126.6);
Tailwind
colors: {
  custom: {
    50: '#758453',
    500: '#3d540d',
    950: '#000000',
  },
}
SCSS
$custom: #3d540d;
$custom-light: #758453;
$custom-dark: #000000;
JSON
{
  "hex": "#3d540d",
  "rgb": {
    "r": 61,
    "g": 84,
    "b": 13
  },
  "hsl": {
    "h": 79.437,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.4123,
    "c": 0.09765,
    "h": 126.6
  },
  "luminance": 0.07362
}

Semantic roles & 50–950 ramp

primary
#3D540D
secondary
#4D2E8F
accent
#38F074
background
#F7F8F4
surface
#EDEFE7
border
#C8CAC3
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3D540D

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

Preview Lab → · Contrast checker → · Palette generator →

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