#3E6815#3E6815

#3E6815 is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 46.9% C 0.120 H 133.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#3E6815
RGBrgb(62, 104, 21)
HSLhsl(90, 66%, 25%)
HSVhsv(90, 80%, 41%)
CMYKcmyk(40.4%, 0%, 79.8%, 59.2%)
CIE-LABlab(39.54, -29.11, 39.26)
CIE-LCHlch(39.54, 48.88, 126.56°)
OKLaboklab(46.91% -0.082 0.0875)
OKLCHoklch(46.91% 0.12 133.1)
XYZxyz(7.0722, 10.9786, 2.4558)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E6815 #3F1568
analogous
#686815 #3E6815 #156815
triadic
#3E6815 #153E68 #68153E
tetradic
#3E6815 #156868 #3F1568 #681515
square
#3E6815 #156868 #3F1568 #681515
split-complementary
#3E6815 #151568 #681568
monochromatic
#0F1905 #20350B #3E6815 #5C9B1F #7BCE2A

Accessibility & contrast

On white

6.57
#3E6815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#3E6815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E6815
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E6815#FFFFFF#000000##FFFFFF
##3E68151.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F03
Deuteranopia (green-blind)
#675C1E
Tritanopia (blue-blind)
#3E6458
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3e6815;
/* rgb */ color: rgb(62, 104, 21);
/* oklch */ color: oklch(46.9% 0.120 133.1);
Tailwind
colors: {
  custom: {
    50: '#779359',
    500: '#3e6815',
    950: '#000000',
  },
}
SCSS
$custom: #3e6815;
$custom-light: #779359;
$custom-dark: #000000;
JSON
{
  "hex": "#3e6815",
  "rgb": {
    "r": 62,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 90.361,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46907,
    "c": 0.11992,
    "h": 133.1
  },
  "luminance": 0.10979
}

Semantic roles & 50–950 ramp

primary
#3E6815
secondary
#6D3A9F
accent
#3EE995
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3E6815

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

Preview Lab → · Contrast checker → · Palette generator →

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