#3D580F#3D580F

#3D580F is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.4% C 0.102 H 128.4°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#3D580F
RGBrgb(61, 88, 15)
HSLhsl(82, 71%, 20%)
HSVhsv(82, 83%, 35%)
CMYKcmyk(30.7%, 0%, 83%, 65.5%)
CIE-LABlab(34.00, -22.10, 36.14)
CIE-LCHlch(34.00, 42.36, 121.44°)
OKLaboklab(42.35% -0.0634 0.08)
OKLCHoklch(42.35% 0.102 128.4)
XYZxyz(5.5004, 8.0059, 1.7073)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D580F #2A0F58
analogous
#584F0F #3D580F #18580F
triadic
#3D580F #0F3D58 #580F3D
tetradic
#3D580F #0F584F #2A0F58 #580F18
square
#3D580F #0F584F #2A0F58 #580F18
split-complementary
#3D580F #0F1858 #4F0F58
monochromatic
#121A04 #192406 #3D580F #618C18 #85C121

Accessibility & contrast

On white

8.07
#3D580F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3D580F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D580F
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D580F#FFFFFF#000000##FFFFFF
##3D580F1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5100
Deuteranopia (green-blind)
#594F16
Tritanopia (blue-blind)
#3F544A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3d580f;
/* rgb */ color: rgb(61, 88, 15);
/* oklch */ color: oklch(42.4% 0.102 128.4);
Tailwind
colors: {
  custom: {
    50: '#768754',
    500: '#3d580f',
    950: '#000000',
  },
}
SCSS
$custom: #3d580f;
$custom-light: #768754;
$custom-dark: #000000;
JSON
{
  "hex": "#3d580f",
  "rgb": {
    "r": 61,
    "g": 88,
    "b": 15
  },
  "hsl": {
    "h": 82.192,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.42353,
    "c": 0.10204,
    "h": 128.4
  },
  "luminance": 0.08006
}

Semantic roles & 50–950 ramp

primary
#3D580F
secondary
#553192
accent
#3AEE7D
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3D580F

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

Preview Lab → · Contrast checker → · Palette generator →

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