#3D5D12#3D5D12

#3D5D12 is a dark, moderate yellow-green. Relative luminance 0.089; OKLCH L 43.8% C 0.107 H 130.4°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#3D5D12
RGBrgb(61, 93, 18)
HSLhsl(86, 68%, 22%)
HSVhsv(86, 81%, 36%)
CMYKcmyk(34.4%, 0%, 80.6%, 63.5%)
CIE-LABlab(35.72, -24.43, 36.67)
CIE-LCHlch(35.72, 44.06, 123.67°)
OKLaboklab(43.77% -0.0695 0.0816)
OKLCHoklch(43.77% 0.107 130.4)
XYZxyz(5.9480, 8.8643, 1.9697)
Luminance0.0886 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5D12 #32125D
analogous
#5D5812 #3D5D12 #185D12
triadic
#3D5D12 #123D5D #5D123D
tetradic
#3D5D12 #125D58 #32125D #5D1218
square
#3D5D12 #125D58 #32125D #5D1218
split-complementary
#3D5D12 #12185D #58125D
monochromatic
#111A05 #1B2A08 #3D5D12 #5F901C #80C426

Accessibility & contrast

On white

7.57
#3D5D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3D5D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D5D12
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5D12#FFFFFF#000000##FFFFFF
##3D5D121.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625603
Deuteranopia (green-blind)
#5D5319
Tritanopia (blue-blind)
#3F594F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3d5d12;
/* rgb */ color: rgb(61, 93, 18);
/* oklch */ color: oklch(43.8% 0.107 130.4);
Tailwind
colors: {
  custom: {
    50: '#768b56',
    500: '#3d5d12',
    950: '#000000',
  },
}
SCSS
$custom: #3d5d12;
$custom-light: #768b56;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5d12",
  "rgb": {
    "r": 61,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 85.6,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43765,
    "c": 0.10718,
    "h": 130.4
  },
  "luminance": 0.08864
}

Semantic roles & 50–950 ramp

primary
#3D5D12
secondary
#5E3595
accent
#3DEA87
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3D5D12

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

Preview Lab → · Contrast checker → · Palette generator →

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