#3D6212#3D6212

#3D6212 is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.2% C 0.114 H 131.8°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#3D6212
RGBrgb(61, 98, 18)
HSLhsl(88, 69%, 23%)
HSVhsv(88, 82%, 38%)
CMYKcmyk(37.8%, 0%, 81.6%, 61.6%)
CIE-LABlab(37.43, -26.86, 38.31)
CIE-LCHlch(37.43, 46.79, 125.04°)
OKLaboklab(45.16% -0.0761 0.085)
OKLCHoklch(45.16% 0.114 131.8)
XYZxyz(6.4013, 9.7709, 2.1208)
Luminance0.0977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D6212 #371262
analogous
#625F12 #3D6212 #156212
triadic
#3D6212 #123D62 #62123D
tetradic
#3D6212 #12625F #371262 #621215
square
#3D6212 #12625F #371262 #621215
split-complementary
#3D6212 #121562 #5F1262
monochromatic
#101A05 #1D2E09 #3D6212 #5D961B #7DC925

Accessibility & contrast

On white

7.11
#3D6212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#3D6212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D6212
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D6212#FFFFFF#000000##FFFFFF
##3D62121.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A01
Deuteranopia (green-blind)
#62571A
Tritanopia (blue-blind)
#3E5E53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3d6212;
/* rgb */ color: rgb(61, 98, 18);
/* oklch */ color: oklch(45.2% 0.114 131.8);
Tailwind
colors: {
  custom: {
    50: '#768f57',
    500: '#3d6212',
    950: '#000000',
  },
}
SCSS
$custom: #3d6212;
$custom-light: #768f57;
$custom-dark: #000000;
JSON
{
  "hex": "#3d6212",
  "rgb": {
    "r": 61,
    "g": 98,
    "b": 18
  },
  "hsl": {
    "h": 87.75,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45157,
    "c": 0.11409,
    "h": 131.8
  },
  "luminance": 0.09771
}

Semantic roles & 50–950 ramp

primary
#3D6212
secondary
#64369A
accent
#3CEC8D
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3D6212

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

Preview Lab → · Contrast checker → · Palette generator →

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