#3D8112#3D8112

#3D8112 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.8% C 0.154 H 136.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#3D8112
RGBrgb(61, 129, 18)
HSLhsl(97, 76%, 29%)
HSVhsv(97, 86%, 51%)
CMYKcmyk(52.7%, 0%, 86%, 49.4%)
CIE-LABlab(47.93, -40.42, 47.98)
CIE-LCHlch(47.93, 62.73, 130.11°)
OKLaboklab(53.77% -0.1125 0.1054)
OKLCHoklch(53.77% 0.154 136.9)
XYZxyz(9.8836, 16.7356, 3.2816)
Luminance0.1674 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8112 #561281
analogous
#758112 #3D8112 #12811F
triadic
#3D8112 #123D81 #81123D
tetradic
#3D8112 #127581 #561281 #811F12
square
#3D8112 #127581 #561281 #811F12
split-complementary
#3D8112 #1F1281 #811275
monochromatic
#0D1B04 #244B0B #3D8112 #56B719 #72E22C

Accessibility & contrast

On white

4.83
#3D8112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#3D8112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D8112
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D8112#FFFFFF#000000##FFFFFF
##3D81121.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#7D7020
Tritanopia (blue-blind)
#397C6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3d8112;
/* rgb */ color: rgb(61, 129, 18);
/* oklch */ color: oklch(53.8% 0.154 136.9);
Tailwind
colors: {
  custom: {
    50: '#7aa65c',
    500: '#3d8112',
    950: '#000000',
  },
}
SCSS
$custom: #3d8112;
$custom-light: #7aa65c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8112",
  "rgb": {
    "r": 61,
    "g": 129,
    "b": 18
  },
  "hsl": {
    "h": 96.757,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53771,
    "c": 0.15411,
    "h": 136.9
  },
  "luminance": 0.16736
}

Semantic roles & 50–950 ramp

primary
#3D8112
secondary
#8638B7
accent
#36F2A9
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3D8112

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

Preview Lab → · Contrast checker → · Palette generator →

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