#3E7C15#3E7C15

#3E7C15 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.4% C 0.146 H 136.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#3E7C15
RGBrgb(62, 124, 21)
HSLhsl(96, 71%, 28%)
HSVhsv(96, 83%, 49%)
CMYKcmyk(50%, 0%, 83.1%, 51.4%)
CIE-LABlab(46.30, -37.90, 45.64)
CIE-LCHlch(46.30, 59.33, 129.70°)
OKLaboklab(52.45% -0.1056 0.1009)
OKLCHoklch(52.45% 0.146 136.3)
XYZxyz(9.3294, 15.4929, 3.2082)
Luminance0.1549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7C15 #53157C
analogous
#717C15 #3E7C15 #157C20
triadic
#3E7C15 #153E7C #7C153E
tetradic
#3E7C15 #15717C #53157C #7C2015
square
#3E7C15 #15717C #53157C #7C2015
split-complementary
#3E7C15 #20157C #7C1571
monochromatic
#0D1A04 #24480C #3E7C15 #58B01E #74DC30

Accessibility & contrast

On white

5.12
#3E7C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#3E7C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7C15
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7C15#FFFFFF#000000##FFFFFF
##3E7C151.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#786C21
Tritanopia (blue-blind)
#3B7769
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3e7c15;
/* rgb */ color: rgb(62, 124, 21);
/* oklch */ color: oklch(52.4% 0.146 136.3);
Tailwind
colors: {
  custom: {
    50: '#7aa25c',
    500: '#3e7c15',
    950: '#000000',
  },
}
SCSS
$custom: #3e7c15;
$custom-light: #7aa25c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7c15",
  "rgb": {
    "r": 62,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 96.117,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5245,
    "c": 0.14608,
    "h": 136.3
  },
  "luminance": 0.15494
}

Semantic roles & 50–950 ramp

primary
#3E7C15
secondary
#823CB1
accent
#3AEEA6
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3E7C15

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

Preview Lab → · Contrast checker → · Palette generator →

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