#3D7212#3D7212

#3D7212 is a mid, vivid yellow-green. Relative luminance 0.131; OKLCH L 49.6% C 0.135 H 135.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#3D7212
RGBrgb(61, 114, 18)
HSLhsl(93, 73%, 26%)
HSVhsv(93, 84%, 45%)
CMYKcmyk(46.5%, 0%, 84.2%, 55.3%)
CIE-LABlab(42.87, -34.16, 43.39)
CIE-LCHlch(42.87, 55.22, 128.21°)
OKLaboklab(49.61% -0.0957 0.0957)
OKLCHoklch(49.61% 0.135 135)
XYZxyz(8.0508, 13.0699, 2.6707)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7212 #471272
analogous
#6D7212 #3D7212 #127217
triadic
#3D7212 #123D72 #72123D
tetradic
#3D7212 #126D72 #471272 #721712
square
#3D7212 #126D72 #471272 #721712
split-complementary
#3D7212 #171272 #72126D
monochromatic
#0E1A04 #213D0A #3D7212 #59A71A #76DC23

Accessibility & contrast

On white

5.81
#3D7212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#3D7212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7212
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7212#FFFFFF#000000##FFFFFF
##3D72121.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#70641D
Tritanopia (blue-blind)
#3C6D61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3d7212;
/* rgb */ color: rgb(61, 114, 18);
/* oklch */ color: oklch(49.6% 0.135 135.0);
Tailwind
colors: {
  custom: {
    50: '#789b5a',
    500: '#3d7212',
    950: '#000000',
  },
}
SCSS
$custom: #3d7212;
$custom-light: #789b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7212",
  "rgb": {
    "r": 61,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 93.125,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49612,
    "c": 0.13534,
    "h": 135
  },
  "luminance": 0.1307
}

Semantic roles & 50–950 ramp

primary
#3D7212
secondary
#7637A9
accent
#38EF9D
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3D7212

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

Preview Lab → · Contrast checker → · Palette generator →

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