#3E7018#3E7018

#3E7018 is a mid, vivid yellow-green. Relative luminance 0.127; OKLCH L 49.1% C 0.129 H 134.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#3E7018
RGBrgb(62, 112, 24)
HSLhsl(94, 65%, 27%)
HSVhsv(94, 79%, 44%)
CMYKcmyk(44.6%, 0%, 78.6%, 56.1%)
CIE-LABlab(42.27, -32.56, 40.80)
CIE-LCHlch(42.27, 52.20, 128.59°)
OKLaboklab(49.15% -0.091 0.0912)
OKLCHoklch(49.15% 0.129 134.9)
XYZxyz(7.9455, 12.6780, 2.8924)
Luminance0.1268 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7018 #4A1870
analogous
#6A7018 #3E7018 #18701E
triadic
#3E7018 #183E70 #70183E
tetradic
#3E7018 #186A70 #4A1870 #701E18
square
#3E7018 #186A70 #4A1870 #701E18
split-complementary
#3E7018 #1E1870 #70186A
monochromatic
#0E1905 #223E0D #3E7018 #5AA223 #76D330

Accessibility & contrast

On white

5.94
#3E7018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3E7018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7018
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7018#FFFFFF#000000##FFFFFF
##3E70181.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746605
Deuteranopia (green-blind)
#6E6221
Tritanopia (blue-blind)
#3D6B5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3e7018;
/* rgb */ color: rgb(62, 112, 24);
/* oklch */ color: oklch(49.1% 0.129 134.9);
Tailwind
colors: {
  custom: {
    50: '#78995c',
    500: '#3e7018',
    950: '#000000',
  },
}
SCSS
$custom: #3e7018;
$custom-light: #78995c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7018",
  "rgb": {
    "r": 62,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 94.091,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49148,
    "c": 0.12888,
    "h": 134.9
  },
  "luminance": 0.12678
}

Semantic roles & 50–950 ramp

primary
#3E7018
secondary
#793EA5
accent
#40E89F
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3E7018

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

Preview Lab → · Contrast checker → · Palette generator →

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