#3D5A12#3D5A12

#3D5A12 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.9% C 0.103 H 129.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#3D5A12
RGBrgb(61, 90, 18)
HSLhsl(84, 67%, 21%)
HSVhsv(84, 80%, 35%)
CMYKcmyk(32.2%, 0%, 80%, 64.7%)
CIE-LABlab(34.70, -22.93, 35.68)
CIE-LCHlch(34.70, 42.41, 122.72°)
OKLaboklab(42.93% -0.0654 0.0796)
OKLCHoklch(42.93% 0.103 129.4)
XYZxyz(5.6898, 8.3479, 1.8837)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5A12 #2F125A
analogous
#5A5312 #3D5A12 #195A12
triadic
#3D5A12 #123D5A #5A123D
tetradic
#3D5A12 #125A53 #2F125A #5A1219
square
#3D5A12 #125A53 #2F125A #5A1219
split-complementary
#3D5A12 #12195A #53125A
monochromatic
#111A05 #1A2708 #3D5A12 #608D1C #82C026

Accessibility & contrast

On white

7.87
#3D5A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3D5A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D5A12
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5A12#FFFFFF#000000##FFFFFF
##3D5A121.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5304
Deuteranopia (green-blind)
#5B5119
Tritanopia (blue-blind)
#3F564C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3d5a12;
/* rgb */ color: rgb(61, 90, 18);
/* oklch */ color: oklch(42.9% 0.103 129.4);
Tailwind
colors: {
  custom: {
    50: '#768956',
    500: '#3d5a12',
    950: '#000000',
  },
}
SCSS
$custom: #3d5a12;
$custom-light: #768956;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5a12",
  "rgb": {
    "r": 61,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 84.167,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.4293,
    "c": 0.10297,
    "h": 129.4
  },
  "luminance": 0.08348
}

Semantic roles & 50–950 ramp

primary
#3D5A12
secondary
#5B3593
accent
#3EEA83
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3D5A12

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

Preview Lab → · Contrast checker → · Palette generator →

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