#3D6912#3D6912

#3D6912 is a mid, vivid yellow-green. Relative luminance 0.111; OKLCH L 47.1% C 0.124 H 133.4°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#3D6912
RGBrgb(61, 105, 18)
HSLhsl(90, 71%, 24%)
HSVhsv(90, 83%, 41%)
CMYKcmyk(41.9%, 0%, 82.9%, 58.8%)
CIE-LABlab(39.81, -30.14, 40.55)
CIE-LCHlch(39.81, 50.53, 126.62°)
OKLaboklab(47.11% -0.0849 0.0898)
OKLCHoklch(47.11% 0.124 133.4)
XYZxyz(7.0851, 11.1386, 2.3488)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D6912 #3E1269
analogous
#696912 #3D6912 #126913
triadic
#3D6912 #123D69 #69123D
tetradic
#3D6912 #126969 #3E1269 #691312
square
#3D6912 #126969 #3E1269 #691312
split-complementary
#3D6912 #131269 #691269
monochromatic
#0F1A04 #1F3509 #3D6912 #5B9D1B #7AD124

Accessibility & contrast

On white

6.51
#3D6912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#3D6912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D6912
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D6912#FFFFFF#000000##FFFFFF
##3D69121.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#685D1C
Tritanopia (blue-blind)
#3D6459
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3d6912;
/* rgb */ color: rgb(61, 105, 18);
/* oklch */ color: oklch(47.1% 0.124 133.4);
Tailwind
colors: {
  custom: {
    50: '#779458',
    500: '#3d6912',
    950: '#000000',
  },
}
SCSS
$custom: #3d6912;
$custom-light: #779458;
$custom-dark: #000000;
JSON
{
  "hex": "#3d6912",
  "rgb": {
    "r": 61,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 90.345,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.47107,
    "c": 0.12355,
    "h": 133.4
  },
  "luminance": 0.11139
}

Semantic roles & 50–950 ramp

primary
#3D6912
secondary
#6C36A1
accent
#3AED95
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3D6912

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

Preview Lab → · Contrast checker → · Palette generator →

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