#3D7012#3D7012

#3D7012 is a mid, vivid yellow-green. Relative luminance 0.126; OKLCH L 49.1% C 0.133 H 134.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#3D7012
RGBrgb(61, 112, 18)
HSLhsl(93, 72%, 25%)
HSVhsv(93, 84%, 44%)
CMYKcmyk(45.5%, 0%, 83.9%, 56.1%)
CIE-LABlab(42.19, -33.28, 42.76)
CIE-LCHlch(42.19, 54.19, 127.89°)
OKLaboklab(49.06% -0.0933 0.0944)
OKLCHoklch(49.06% 0.133 134.7)
XYZxyz(7.8277, 12.6237, 2.5963)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7012 #451270
analogous
#6C7012 #3D7012 #127016
triadic
#3D7012 #123D70 #70123D
tetradic
#3D7012 #126C70 #451270 #701612
square
#3D7012 #126C70 #451270 #701612
split-complementary
#3D7012 #161270 #70126C
monochromatic
#0E1A04 #203B0A #3D7012 #5AA51A #76D923

Accessibility & contrast

On white

5.96
#3D7012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#3D7012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7012
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7012#FFFFFF#000000##FFFFFF
##3D70121.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6E621D
Tritanopia (blue-blind)
#3C6B5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3d7012;
/* rgb */ color: rgb(61, 112, 18);
/* oklch */ color: oklch(49.1% 0.133 134.7);
Tailwind
colors: {
  custom: {
    50: '#789959',
    500: '#3d7012',
    950: '#000000',
  },
}
SCSS
$custom: #3d7012;
$custom-light: #789959;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7012",
  "rgb": {
    "r": 61,
    "g": 112,
    "b": 18
  },
  "hsl": {
    "h": 92.553,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49055,
    "c": 0.13275,
    "h": 134.7
  },
  "luminance": 0.12624
}

Semantic roles & 50–950 ramp

primary
#3D7012
secondary
#7437A7
accent
#39EF9C
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3D7012

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

Preview Lab → · Contrast checker → · Palette generator →

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