#3E6818#3E6818

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

Color values

HEX#3E6818
RGBrgb(62, 104, 24)
HSLhsl(92, 63%, 25%)
HSVhsv(92, 77%, 41%)
CMYKcmyk(40.4%, 0%, 76.9%, 59.2%)
CIE-LABlab(39.56, -28.91, 38.13)
CIE-LCHlch(39.56, 47.85, 127.17°)
OKLaboklab(46.93% -0.0812 0.0857)
OKLCHoklch(46.93% 0.118 133.5)
XYZxyz(7.1017, 10.9904, 2.6111)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E6818 #421868
analogous
#666818 #3E6818 #18681A
triadic
#3E6818 #183E68 #68183E
tetradic
#3E6818 #186668 #421868 #681A18
square
#3E6818 #186668 #421868 #681A18
split-complementary
#3E6818 #1A1868 #681866
monochromatic
#0F1906 #20360D #3E6818 #5C9A23 #79CB2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E6818#FFFFFF#000000##FFFFFF
##3E68181.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)
#6C5F09
Deuteranopia (green-blind)
#675C20
Tritanopia (blue-blind)
#3E6458
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3e6818;
/* rgb */ color: rgb(62, 104, 24);
/* oklch */ color: oklch(46.9% 0.118 133.5);
Tailwind
colors: {
  custom: {
    50: '#77935b',
    500: '#3e6818',
    950: '#000000',
  },
}
SCSS
$custom: #3e6818;
$custom-light: #77935b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e6818",
  "rgb": {
    "r": 62,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 91.5,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4693,
    "c": 0.11801,
    "h": 133.5
  },
  "luminance": 0.10991
}

Semantic roles & 50–950 ramp

primary
#3E6818
secondary
#703E9E
accent
#42E698
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3E6818

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

Preview Lab → · Contrast checker → · Palette generator →

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