#3E7618#3E7618

#3E7618 is a mid, vivid yellow-green. Relative luminance 0.140; OKLCH L 50.8% C 0.137 H 135.8°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#3E7618
RGBrgb(62, 118, 24)
HSLhsl(96, 66%, 28%)
HSVhsv(96, 80%, 46%)
CMYKcmyk(47.5%, 0%, 79.7%, 53.7%)
CIE-LABlab(44.30, -35.18, 42.76)
CIE-LCHlch(44.30, 55.37, 129.45°)
OKLaboklab(50.81% -0.0981 0.0953)
OKLCHoklch(50.81% 0.137 135.8)
XYZxyz(8.6297, 14.0464, 3.1205)
Luminance0.1405 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7618 #501876
analogous
#6D7618 #3E7618 #187621
triadic
#3E7618 #183E76 #76183E
tetradic
#3E7618 #186D76 #501876 #762118
square
#3E7618 #186D76 #501876 #762118
split-complementary
#3E7618 #211876 #76186D
monochromatic
#0D1905 #23430E #3E7618 #59A922 #75D533

Accessibility & contrast

On white

5.51
#3E7618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#3E7618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7618
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7618#FFFFFF#000000##FFFFFF
##3E76181.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C02
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#3C7164
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3e7618;
/* rgb */ color: rgb(62, 118, 24);
/* oklch */ color: oklch(50.8% 0.137 135.8);
Tailwind
colors: {
  custom: {
    50: '#799e5d',
    500: '#3e7618',
    950: '#000000',
  },
}
SCSS
$custom: #3e7618;
$custom-light: #799e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7618",
  "rgb": {
    "r": 62,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 95.745,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5081,
    "c": 0.13682,
    "h": 135.8
  },
  "luminance": 0.14047
}

Semantic roles & 50–950 ramp

primary
#3E7618
secondary
#7F3FAB
accent
#3FE9A4
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3E7618

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

Preview Lab → · Contrast checker → · Palette generator →

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