#3D7E12#3D7E12

#3D7E12 is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 52.9% C 0.150 H 136.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#3D7E12
RGBrgb(61, 126, 18)
HSLhsl(96, 75%, 28%)
HSVhsv(96, 86%, 49%)
CMYKcmyk(51.6%, 0%, 85.7%, 50.6%)
CIE-LABlab(46.92, -39.20, 47.07)
CIE-LCHlch(46.92, 61.26, 129.79°)
OKLaboklab(52.94% -0.1092 0.1035)
OKLCHoklch(52.94% 0.15 136.5)
XYZxyz(9.4942, 15.9568, 3.1518)
Luminance0.1596 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7E12 #53127E
analogous
#737E12 #3D7E12 #127E1D
triadic
#3D7E12 #123D7E #7E123D
tetradic
#3D7E12 #12737E #53127E #7E1D12
square
#3D7E12 #12737E #53127E #7E1D12
split-complementary
#3D7E12 #1D127E #7E1273
monochromatic
#0D1B04 #23480A #3D7E12 #57B41A #73E12A

Accessibility & contrast

On white

5.01
#3D7E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#3D7E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7E12
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7E12#FFFFFF#000000##FFFFFF
##3D7E121.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#39796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3d7e12;
/* rgb */ color: rgb(61, 126, 18);
/* oklch */ color: oklch(52.9% 0.150 136.5);
Tailwind
colors: {
  custom: {
    50: '#7aa45c',
    500: '#3d7e12',
    950: '#000000',
  },
}
SCSS
$custom: #3d7e12;
$custom-light: #7aa45c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7e12",
  "rgb": {
    "r": 61,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 96.111,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52941,
    "c": 0.15044,
    "h": 136.5
  },
  "luminance": 0.15957
}

Semantic roles & 50–950 ramp

primary
#3D7E12
secondary
#8338B4
accent
#36F2A7
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3D7E12

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

Preview Lab → · Contrast checker → · Palette generator →

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