#3E7218#3E7218

#3E7218 is a mid, vivid yellow-green. Relative luminance 0.131; OKLCH L 49.7% C 0.132 H 135.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#3E7218
RGBrgb(62, 114, 24)
HSLhsl(95, 65%, 27%)
HSVhsv(95, 79%, 45%)
CMYKcmyk(45.6%, 0%, 78.9%, 55.3%)
CIE-LABlab(42.95, -33.44, 41.45)
CIE-LCHlch(42.95, 53.26, 128.89°)
OKLaboklab(49.7% -0.0934 0.0926)
OKLCHoklch(49.7% 0.132 135.3)
XYZxyz(8.1686, 13.1242, 2.9668)
Luminance0.1313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7218 #4C1872
analogous
#6B7218 #3E7218 #18721F
triadic
#3E7218 #183E72 #72183E
tetradic
#3E7218 #186B72 #4C1872 #721F18
square
#3E7218 #186B72 #4C1872 #721F18
split-complementary
#3E7218 #1F1872 #72186B
monochromatic
#0E1905 #233F0D #3E7218 #59A523 #76D431

Accessibility & contrast

On white

5.79
#3E7218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#3E7218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7218
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7218#FFFFFF#000000##FFFFFF
##3E72181.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766804
Deuteranopia (green-blind)
#6F6421
Tritanopia (blue-blind)
#3D6D61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3e7218;
/* rgb */ color: rgb(62, 114, 24);
/* oklch */ color: oklch(49.7% 0.132 135.3);
Tailwind
colors: {
  custom: {
    50: '#799b5c',
    500: '#3e7218',
    950: '#000000',
  },
}
SCSS
$custom: #3e7218;
$custom-light: #799b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7218",
  "rgb": {
    "r": 62,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 94.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49702,
    "c": 0.13155,
    "h": 135.3
  },
  "luminance": 0.13125
}

Semantic roles & 50–950 ramp

primary
#3E7218
secondary
#7B3EA7
accent
#40E8A1
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3E7218

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

Preview Lab → · Contrast checker → · Palette generator →

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