#3E8015#3E8015

#3E8015 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.6% C 0.151 H 136.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#3E8015
RGBrgb(62, 128, 21)
HSLhsl(97, 72%, 29%)
HSVhsv(97, 84%, 50%)
CMYKcmyk(51.6%, 0%, 83.6%, 49.8%)
CIE-LABlab(47.64, -39.55, 46.88)
CIE-LCHlch(47.64, 61.33, 130.15°)
OKLaboklab(53.56% -0.11 0.1035)
OKLCHoklch(53.56% 0.151 136.7)
XYZxyz(9.8408, 16.5159, 3.3787)
Luminance0.1652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8015 #571580
analogous
#748015 #3E8015 #158021
triadic
#3E8015 #153E80 #80153E
tetradic
#3E8015 #157480 #571580 #802115
square
#3E8015 #157480 #571580 #802115
split-complementary
#3E8015 #211580 #801574
monochromatic
#0D1A04 #254B0C #3E8015 #57B51E #74DD32

Accessibility & contrast

On white

4.88
#3E8015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#3E8015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E8015
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E8015#FFFFFF#000000##FFFFFF
##3E80151.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#7C6F22
Tritanopia (blue-blind)
#3A7B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3e8015;
/* rgb */ color: rgb(62, 128, 21);
/* oklch */ color: oklch(53.6% 0.151 136.7);
Tailwind
colors: {
  custom: {
    50: '#7ba55d',
    500: '#3e8015',
    950: '#000000',
  },
}
SCSS
$custom: #3e8015;
$custom-light: #7ba55d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8015",
  "rgb": {
    "r": 62,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 97.009,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53555,
    "c": 0.15107,
    "h": 136.7
  },
  "luminance": 0.16517
}

Semantic roles & 50–950 ramp

primary
#3E8015
secondary
#873CB5
accent
#39EFA9
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E8015

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

Preview Lab → · Contrast checker → · Palette generator →

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