#3D5018#3D5018

#3D5018 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.2% C 0.084 H 125.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#3D5018
RGBrgb(61, 80, 24)
HSLhsl(80, 54%, 20%)
HSVhsv(80, 70%, 31%)
CMYKcmyk(23.7%, 0%, 70%, 68.6%)
CIE-LABlab(31.34, -17.21, 29.61)
CIE-LCHlch(31.34, 34.25, 120.17°)
OKLaboklab(40.22% -0.0491 0.0678)
OKLCHoklch(40.22% 0.084 125.9)
XYZxyz(4.9580, 6.7953, 1.9144)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5018 #2B1850
analogous
#504718 #3D5018 #215018
triadic
#3D5018 #183D50 #50183D
tetradic
#3D5018 #185047 #2B1850 #501821
square
#3D5018 #185047 #2B1850 #501821
split-complementary
#3D5018 #182150 #471850
monochromatic
#121807 #19210A #3D5018 #617F26 #85AE34

Accessibility & contrast

On white

8.90
#3D5018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3D5018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D5018
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5018#FFFFFF#000000##FFFFFF
##3D50181.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A11
Deuteranopia (green-blind)
#52491C
Tritanopia (blue-blind)
#404C44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3d5018;
/* rgb */ color: rgb(61, 80, 24);
/* oklch */ color: oklch(40.2% 0.084 125.9);
Tailwind
colors: {
  custom: {
    50: '#748158',
    500: '#3d5018',
    950: '#000000',
  },
}
SCSS
$custom: #3d5018;
$custom-light: #748158;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5018",
  "rgb": {
    "r": 61,
    "g": 80,
    "b": 24
  },
  "hsl": {
    "h": 80.357,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40219,
    "c": 0.08373,
    "h": 125.9
  },
  "luminance": 0.06795
}

Semantic roles & 50–950 ramp

primary
#3D5018
secondary
#563D87
accent
#4BDD7C
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3D5018

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

Preview Lab → · Contrast checker → · Palette generator →

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