#3E7D15#3E7D15

#3E7D15 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.7% C 0.147 H 136.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#3E7D15
RGBrgb(62, 125, 21)
HSLhsl(96, 71%, 29%)
HSVhsv(96, 83%, 49%)
CMYKcmyk(50.4%, 0%, 83.2%, 51%)
CIE-LABlab(46.64, -38.31, 45.96)
CIE-LCHlch(46.64, 59.83, 129.82°)
OKLaboklab(52.73% -0.1067 0.1016)
OKLCHoklch(52.73% 0.147 136.4)
XYZxyz(9.4553, 15.7449, 3.2501)
Luminance0.1575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7D15 #54157D
analogous
#727D15 #3E7D15 #157D20
triadic
#3E7D15 #153E7D #7D153E
tetradic
#3E7D15 #15727D #54157D #7D2015
square
#3E7D15 #15727D #54157D #7D2015
split-complementary
#3E7D15 #20157D #7D1572
monochromatic
#0D1A04 #24490C #3E7D15 #58B11E #74DC30

Accessibility & contrast

On white

5.06
#3E7D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#3E7D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7D15
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7D15#FFFFFF#000000##FFFFFF
##3E7D151.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#796D21
Tritanopia (blue-blind)
#3B786A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3e7d15;
/* rgb */ color: rgb(62, 125, 21);
/* oklch */ color: oklch(52.7% 0.147 136.4);
Tailwind
colors: {
  custom: {
    50: '#7aa35d',
    500: '#3e7d15',
    950: '#000000',
  },
}
SCSS
$custom: #3e7d15;
$custom-light: #7aa35d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7d15",
  "rgb": {
    "r": 62,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 96.346,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52727,
    "c": 0.14733,
    "h": 136.4
  },
  "luminance": 0.15746
}

Semantic roles & 50–950 ramp

primary
#3E7D15
secondary
#833CB2
accent
#3AEEA7
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E7D15

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

Preview Lab → · Contrast checker → · Palette generator →

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