#3D7312#3D7312

#3D7312 is a mid, vivid yellow-green. Relative luminance 0.133; OKLCH L 49.9% C 0.137 H 135.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#3D7312
RGBrgb(61, 115, 18)
HSLhsl(93, 73%, 26%)
HSVhsv(93, 84%, 45%)
CMYKcmyk(47%, 0%, 84.3%, 54.9%)
CIE-LABlab(43.21, -34.59, 43.70)
CIE-LCHlch(43.21, 55.73, 128.36°)
OKLaboklab(49.89% -0.0968 0.0964)
OKLCHoklch(49.89% 0.137 135.1)
XYZxyz(8.1642, 13.2967, 2.7085)
Luminance0.1330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7312 #481273
analogous
#6D7312 #3D7312 #127317
triadic
#3D7312 #123D73 #73123D
tetradic
#3D7312 #126D73 #481273 #731712
square
#3D7312 #126D73 #481273 #731712
split-complementary
#3D7312 #171273 #73126D
monochromatic
#0E1A04 #213E0A #3D7312 #59A81A #75DD23

Accessibility & contrast

On white

5.74
#3D7312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#3D7312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7312
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7312#FFFFFF#000000##FFFFFF
##3D73121.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#70641E
Tritanopia (blue-blind)
#3B6E61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3d7312;
/* rgb */ color: rgb(61, 115, 18);
/* oklch */ color: oklch(49.9% 0.137 135.1);
Tailwind
colors: {
  custom: {
    50: '#789c5a',
    500: '#3d7312',
    950: '#000000',
  },
}
SCSS
$custom: #3d7312;
$custom-light: #789c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7312",
  "rgb": {
    "r": 61,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 93.402,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.4989,
    "c": 0.13663,
    "h": 135.1
  },
  "luminance": 0.13297
}

Semantic roles & 50–950 ramp

primary
#3D7312
secondary
#7737AA
accent
#38F09E
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3D7312

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

Preview Lab → · Contrast checker → · Palette generator →

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