#3E8D15#3E8D15

#3E8D15 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.1% C 0.167 H 137.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#3E8D15
RGBrgb(62, 141, 21)
HSLhsl(100, 74%, 32%)
HSVhsv(100, 85%, 55%)
CMYKcmyk(56%, 0%, 85.1%, 44.7%)
CIE-LABlab(51.98, -44.68, 50.83)
CIE-LCHlch(51.98, 67.67, 131.31°)
OKLaboklab(57.13% -0.1238 0.1118)
OKLCHoklch(57.13% 0.167 137.9)
XYZxyz(11.6464, 20.1271, 3.9805)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8D15 #64158D
analogous
#7A8D15 #3E8D15 #158D28
triadic
#3E8D15 #153E8D #8D153E
tetradic
#3E8D15 #157A8D #64158D #8D2815
square
#3E8D15 #157A8D #64158D #8D2815
split-complementary
#3E8D15 #28158D #8D157A
monochromatic
#0F2205 #27580D #3E8D15 #55C21D #74E23B

Accessibility & contrast

On white

4.18
#3E8D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#3E8D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3E8D15
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E8D15#FFFFFF#000000##000000
##3E8D151.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#378878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3e8d15;
/* rgb */ color: rgb(62, 141, 21);
/* oklch */ color: oklch(57.1% 0.167 137.9);
Tailwind
colors: {
  custom: {
    50: '#7daf5f',
    500: '#3e8d15',
    950: '#000000',
  },
}
SCSS
$custom: #3e8d15;
$custom-light: #7daf5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8d15",
  "rgb": {
    "r": 62,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 99.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57129,
    "c": 0.1668,
    "h": 137.9
  },
  "luminance": 0.20128
}

Semantic roles & 50–950 ramp

primary
#3E8D15
secondary
#943DC1
accent
#37F1B1
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #3E8D15

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

Preview Lab → · Contrast checker → · Palette generator →

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