#3D5F0F#3D5F0F

#3D5F0F is a dark, moderate yellow-green. Relative luminance 0.092; OKLCH L 44.3% C 0.112 H 130.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#3D5F0F
RGBrgb(61, 95, 15)
HSLhsl(86, 73%, 22%)
HSVhsv(86, 84%, 37%)
CMYKcmyk(35.8%, 0%, 84.2%, 62.7%)
CIE-LABlab(36.39, -25.59, 38.37)
CIE-LCHlch(36.39, 46.12, 123.70°)
OKLaboklab(44.3% -0.0728 0.0847)
OKLCHoklch(44.3% 0.112 130.7)
XYZxyz(6.1029, 9.2108, 1.9082)
Luminance0.0921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5F0F #310F5F
analogous
#5F590F #3D5F0F #155F0F
triadic
#3D5F0F #0F3D5F #5F0F3D
tetradic
#3D5F0F #0F5F59 #310F5F #5F0F15
square
#3D5F0F #0F5F59 #310F5F #5F0F15
split-complementary
#3D5F0F #0F155F #590F5F
monochromatic
#111A04 #1B2A07 #3D5F0F #5F9417 #81C920

Accessibility & contrast

On white

7.39
#3D5F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#3D5F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D5F0F
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5F0F#FFFFFF#000000##FFFFFF
##3D5F0F1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645700
Deuteranopia (green-blind)
#5F5518
Tritanopia (blue-blind)
#3F5B50
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3d5f0f;
/* rgb */ color: rgb(61, 95, 15);
/* oklch */ color: oklch(44.3% 0.112 130.7);
Tailwind
colors: {
  custom: {
    50: '#768c55',
    500: '#3d5f0f',
    950: '#000000',
  },
}
SCSS
$custom: #3d5f0f;
$custom-light: #768c55;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5f0f",
  "rgb": {
    "r": 61,
    "g": 95,
    "b": 15
  },
  "hsl": {
    "h": 85.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.44302,
    "c": 0.11168,
    "h": 130.7
  },
  "luminance": 0.09211
}

Semantic roles & 50–950 ramp

primary
#3D5F0F
secondary
#5D3298
accent
#38EF86
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3D5F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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