#3D540F#3D540F

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

Color values

HEX#3D540F
RGBrgb(61, 84, 15)
HSLhsl(80, 70%, 19%)
HSVhsv(80, 82%, 33%)
CMYKcmyk(27.4%, 0%, 82.1%, 67.1%)
CIE-LABlab(32.63, -20.02, 34.85)
CIE-LCHlch(32.63, 40.19, 119.88°)
OKLaboklab(41.24% -0.0577 0.0773)
OKLCHoklch(41.24% 0.096 126.8)
XYZxyz(5.1810, 7.3671, 1.6009)
Luminance0.0737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D540F #260F54
analogous
#54490F #3D540F #1B540F
triadic
#3D540F #0F3D54 #540F3D
tetradic
#3D540F #0F5449 #260F54 #540F1B
square
#3D540F #0F5449 #260F54 #540F1B
split-complementary
#3D540F #0F1B54 #490F54
monochromatic
#131A05 #172006 #3D540F #638818 #88BC22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D540F#FFFFFF#000000##FFFFFF
##3D540F1.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)
#594E02
Deuteranopia (green-blind)
#564C16
Tritanopia (blue-blind)
#405047
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3d540f;
/* rgb */ color: rgb(61, 84, 15);
/* oklch */ color: oklch(41.2% 0.096 126.8);
Tailwind
colors: {
  custom: {
    50: '#758453',
    500: '#3d540f',
    950: '#000000',
  },
}
SCSS
$custom: #3d540f;
$custom-light: #758453;
$custom-dark: #000000;
JSON
{
  "hex": "#3d540f",
  "rgb": {
    "r": 61,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 80,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.41243,
    "c": 0.09644,
    "h": 126.8
  },
  "luminance": 0.07367
}

Semantic roles & 50–950 ramp

primary
#3D540F
secondary
#50318E
accent
#3BED76
background
#F7F8F4
surface
#EDEFE8
border
#C8CAC4
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3D540F

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

Preview Lab → · Contrast checker → · Palette generator →

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