#3D7112#3D7112

#3D7112 is a mid, vivid yellow-green. Relative luminance 0.128; OKLCH L 49.3% C 0.134 H 134.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#3D7112
RGBrgb(61, 113, 18)
HSLhsl(93, 73%, 26%)
HSVhsv(93, 84%, 44%)
CMYKcmyk(46%, 0%, 84.1%, 55.7%)
CIE-LABlab(42.53, -33.72, 43.08)
CIE-LCHlch(42.53, 54.71, 128.06°)
OKLaboklab(49.33% -0.0945 0.0951)
OKLCHoklch(49.33% 0.134 134.8)
XYZxyz(7.9386, 12.8456, 2.6333)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7112 #461271
analogous
#6C7112 #3D7112 #127116
triadic
#3D7112 #123D71 #71123D
tetradic
#3D7112 #126C71 #461271 #711612
square
#3D7112 #126C71 #461271 #711612
split-complementary
#3D7112 #161271 #71126C
monochromatic
#0E1A04 #213C0A #3D7112 #59A61A #76DB23

Accessibility & contrast

On white

5.88
#3D7112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#3D7112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7112
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7112#FFFFFF#000000##FFFFFF
##3D71121.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6F631D
Tritanopia (blue-blind)
#3C6C60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3d7112;
/* rgb */ color: rgb(61, 113, 18);
/* oklch */ color: oklch(49.3% 0.134 134.8);
Tailwind
colors: {
  custom: {
    50: '#789a59',
    500: '#3d7112',
    950: '#000000',
  },
}
SCSS
$custom: #3d7112;
$custom-light: #789a59;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7112",
  "rgb": {
    "r": 61,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 92.842,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49333,
    "c": 0.13405,
    "h": 134.8
  },
  "luminance": 0.12846
}

Semantic roles & 50–950 ramp

primary
#3D7112
secondary
#7537A8
accent
#39EF9D
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3D7112

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

Preview Lab → · Contrast checker → · Palette generator →

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