#3E8218#3E8218

#3E8218 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.1% C 0.152 H 137.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#3E8218
RGBrgb(62, 130, 24)
HSLhsl(98, 69%, 30%)
HSVhsv(98, 82%, 51%)
CMYKcmyk(52.3%, 0%, 81.5%, 49%)
CIE-LABlab(48.33, -40.19, 46.59)
CIE-LCHlch(48.33, 61.53, 130.78°)
OKLaboklab(54.12% -0.1116 0.1034)
OKLCHoklch(54.12% 0.152 137.2)
XYZxyz(10.1338, 17.0546, 3.6218)
Luminance0.1706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8218 #5C1882
analogous
#738218 #3E8218 #188227
triadic
#3E8218 #183E82 #82183E
tetradic
#3E8218 #187382 #5C1882 #822718
square
#3E8218 #187382 #5C1882 #822718
split-complementary
#3E8218 #271882 #821873
monochromatic
#0D1B05 #254E0E #3E8218 #57B622 #73DB3A

Accessibility & contrast

On white

4.76
#3E8218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#3E8218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E8218
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E8218#FFFFFF#000000##FFFFFF
##3E82181.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#3A7D6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3e8218;
/* rgb */ color: rgb(62, 130, 24);
/* oklch */ color: oklch(54.1% 0.152 137.2);
Tailwind
colors: {
  custom: {
    50: '#7ba75f',
    500: '#3e8218',
    950: '#000000',
  },
}
SCSS
$custom: #3e8218;
$custom-light: #7ba75f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8218",
  "rgb": {
    "r": 62,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 98.491,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54123,
    "c": 0.1521,
    "h": 137.2
  },
  "luminance": 0.17055
}

Semantic roles & 50–950 ramp

primary
#3E8218
secondary
#8C40B6
accent
#3CECAD
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E8218

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

Preview Lab → · Contrast checker → · Palette generator →

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