#3D8012#3D8012

#3D8012 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.5% C 0.153 H 136.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#3D8012
RGBrgb(61, 128, 18)
HSLhsl(97, 75%, 29%)
HSVhsv(97, 86%, 50%)
CMYKcmyk(52.3%, 0%, 85.9%, 49.8%)
CIE-LABlab(47.59, -40.01, 47.67)
CIE-LCHlch(47.59, 62.24, 130.01°)
OKLaboklab(53.49% -0.1114 0.1047)
OKLCHoklch(53.49% 0.153 136.8)
XYZxyz(9.7525, 16.4734, 3.2379)
Luminance0.1647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8012 #551280
analogous
#748012 #3D8012 #12801E
triadic
#3D8012 #123D80 #80123D
tetradic
#3D8012 #127480 #551280 #801E12
square
#3D8012 #127480 #551280 #801E12
split-complementary
#3D8012 #1E1280 #801274
monochromatic
#0D1B04 #234A0A #3D8012 #57B61A #72E12B

Accessibility & contrast

On white

4.89
#3D8012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#3D8012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D8012
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D8012#FFFFFF#000000##FFFFFF
##3D80121.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#397B6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3d8012;
/* rgb */ color: rgb(61, 128, 18);
/* oklch */ color: oklch(53.5% 0.153 136.8);
Tailwind
colors: {
  custom: {
    50: '#7aa55c',
    500: '#3d8012',
    950: '#000000',
  },
}
SCSS
$custom: #3d8012;
$custom-light: #7aa55c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8012",
  "rgb": {
    "r": 61,
    "g": 128,
    "b": 18
  },
  "hsl": {
    "h": 96.545,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53494,
    "c": 0.15289,
    "h": 136.8
  },
  "luminance": 0.16474
}

Semantic roles & 50–950 ramp

primary
#3D8012
secondary
#8538B6
accent
#36F2A8
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3D8012

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

Preview Lab → · Contrast checker → · Palette generator →

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