#3D5E12#3D5E12

#3D5E12 is a dark, moderate yellow-green. Relative luminance 0.090; OKLCH L 44.0% C 0.109 H 130.7°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#3D5E12
RGBrgb(61, 94, 18)
HSLhsl(86, 68%, 22%)
HSVhsv(86, 81%, 37%)
CMYKcmyk(35.1%, 0%, 80.9%, 63.1%)
CIE-LABlab(36.06, -24.92, 37.00)
CIE-LCHlch(36.06, 44.61, 123.96°)
OKLaboklab(44.04% -0.0708 0.0823)
OKLCHoklch(44.04% 0.109 130.7)
XYZxyz(6.0363, 9.0410, 1.9992)
Luminance0.0904 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5E12 #33125E
analogous
#5E5912 #3D5E12 #175E12
triadic
#3D5E12 #123D5E #5E123D
tetradic
#3D5E12 #125E59 #33125E #5E1217
square
#3D5E12 #125E59 #33125E #5E1217
split-complementary
#3D5E12 #12175E #59125E
monochromatic
#111A05 #1C2B08 #3D5E12 #5E911C #80C526

Accessibility & contrast

On white

7.48
#3D5E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#3D5E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D5E12
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5E12#FFFFFF#000000##FFFFFF
##3D5E121.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635603
Deuteranopia (green-blind)
#5E541A
Tritanopia (blue-blind)
#3E5A50
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3d5e12;
/* rgb */ color: rgb(61, 94, 18);
/* oklch */ color: oklch(44.0% 0.109 130.7);
Tailwind
colors: {
  custom: {
    50: '#768c56',
    500: '#3d5e12',
    950: '#000000',
  },
}
SCSS
$custom: #3d5e12;
$custom-light: #768c56;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5e12",
  "rgb": {
    "r": 61,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 86.053,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.44043,
    "c": 0.10857,
    "h": 130.7
  },
  "luminance": 0.09041
}

Semantic roles & 50–950 ramp

primary
#3D5E12
secondary
#603596
accent
#3DEB88
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3D5E12

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

Preview Lab → · Contrast checker → · Palette generator →

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