#3D5912#3D5912

#3D5912 is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.7% C 0.102 H 129.1°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#3D5912
RGBrgb(61, 89, 18)
HSLhsl(84, 66%, 21%)
HSVhsv(84, 80%, 35%)
CMYKcmyk(31.5%, 0%, 79.8%, 65.1%)
CIE-LABlab(34.36, -22.42, 35.35)
CIE-LCHlch(34.36, 41.86, 122.39°)
OKLaboklab(42.65% -0.064 0.0789)
OKLCHoklch(42.65% 0.102 129.1)
XYZxyz(5.6060, 8.1804, 1.8558)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5912 #2E1259
analogous
#595112 #3D5912 #195912
triadic
#3D5912 #123D59 #59123D
tetradic
#3D5912 #125951 #2E1259 #591219
square
#3D5912 #125951 #2E1259 #591219
split-complementary
#3D5912 #121959 #511259
monochromatic
#111905 #1A2608 #3D5912 #608C1C #83BF27

Accessibility & contrast

On white

7.97
#3D5912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3D5912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D5912
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5912#FFFFFF#000000##FFFFFF
##3D59121.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5205
Deuteranopia (green-blind)
#5A5019
Tritanopia (blue-blind)
#3F554B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3d5912;
/* rgb */ color: rgb(61, 89, 18);
/* oklch */ color: oklch(42.7% 0.102 129.1);
Tailwind
colors: {
  custom: {
    50: '#758856',
    500: '#3d5912',
    950: '#000000',
  },
}
SCSS
$custom: #3d5912;
$custom-light: #758856;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5912",
  "rgb": {
    "r": 61,
    "g": 89,
    "b": 18
  },
  "hsl": {
    "h": 83.662,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42653,
    "c": 0.10155,
    "h": 129.1
  },
  "luminance": 0.08181
}

Semantic roles & 50–950 ramp

primary
#3D5912
secondary
#5A3592
accent
#3FE982
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3D5912

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

Preview Lab → · Contrast checker → · Palette generator →

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