#3D7D12#3D7D12

#3D7D12 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.7% C 0.149 H 136.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#3D7D12
RGBrgb(61, 125, 18)
HSLhsl(96, 75%, 28%)
HSVhsv(96, 86%, 49%)
CMYKcmyk(51.2%, 0%, 85.6%, 51%)
CIE-LABlab(46.58, -38.79, 46.77)
CIE-LCHlch(46.58, 60.76, 129.68°)
OKLaboklab(52.66% -0.1081 0.1028)
OKLCHoklch(52.66% 0.149 136.4)
XYZxyz(9.3670, 15.7023, 3.1094)
Luminance0.1570 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7D12 #52127D
analogous
#727D12 #3D7D12 #127D1D
triadic
#3D7D12 #123D7D #7D123D
tetradic
#3D7D12 #12727D #52127D #7D1D12
square
#3D7D12 #12727D #52127D #7D1D12
split-complementary
#3D7D12 #1D127D #7D1272
monochromatic
#0D1B04 #23480A #3D7D12 #57B21A #73E029

Accessibility & contrast

On white

5.07
#3D7D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#3D7D12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7D12
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7D12#FFFFFF#000000##FFFFFF
##3D7D121.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#796C20
Tritanopia (blue-blind)
#3A786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3d7d12;
/* rgb */ color: rgb(61, 125, 18);
/* oklch */ color: oklch(52.7% 0.149 136.4);
Tailwind
colors: {
  custom: {
    50: '#7aa35b',
    500: '#3d7d12',
    950: '#000000',
  },
}
SCSS
$custom: #3d7d12;
$custom-light: #7aa35b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7d12",
  "rgb": {
    "r": 61,
    "g": 125,
    "b": 18
  },
  "hsl": {
    "h": 95.888,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52664,
    "c": 0.1492,
    "h": 136.4
  },
  "luminance": 0.15703
}

Semantic roles & 50–950 ramp

primary
#3D7D12
secondary
#8138B3
accent
#36F1A6
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3D7D12

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

Preview Lab → · Contrast checker → · Palette generator →

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