#3D6812#3D6812

#3D6812 is a mid, vivid yellow-green. Relative luminance 0.109; OKLCH L 46.8% C 0.122 H 133.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#3D6812
RGBrgb(61, 104, 18)
HSLhsl(90, 70%, 24%)
HSVhsv(90, 83%, 41%)
CMYKcmyk(41.3%, 0%, 82.7%, 59.2%)
CIE-LABlab(39.47, -29.68, 40.24)
CIE-LCHlch(39.47, 50.00, 126.42°)
OKLaboklab(46.83% -0.0837 0.0891)
OKLCHoklch(46.83% 0.122 133.2)
XYZxyz(6.9839, 10.9361, 2.3150)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D6812 #3D1268
analogous
#686812 #3D6812 #126812
triadic
#3D6812 #123D68 #68123D
tetradic
#3D6812 #126868 #3D1268 #681212
square
#3D6812 #126868 #3D1268 #681212
split-complementary
#3D6812 #121268 #681268
monochromatic
#0F1A05 #1E3409 #3D6812 #5C9C1B #7AD024

Accessibility & contrast

On white

6.59
#3D6812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3D6812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D6812
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D6812#FFFFFF#000000##FFFFFF
##3D68121.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#675C1B
Tritanopia (blue-blind)
#3D6358
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3d6812;
/* rgb */ color: rgb(61, 104, 18);
/* oklch */ color: oklch(46.8% 0.122 133.2);
Tailwind
colors: {
  custom: {
    50: '#779358',
    500: '#3d6812',
    950: '#000000',
  },
}
SCSS
$custom: #3d6812;
$custom-light: #779358;
$custom-dark: #000000;
JSON
{
  "hex": "#3d6812",
  "rgb": {
    "r": 61,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 90,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46828,
    "c": 0.12221,
    "h": 133.2
  },
  "luminance": 0.10936
}

Semantic roles & 50–950 ramp

primary
#3D6812
secondary
#6B36A0
accent
#3BED94
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3D6812

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

Preview Lab → · Contrast checker → · Palette generator →

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