#3E8215#3E8215

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

Color values

HEX#3E8215
RGBrgb(62, 130, 21)
HSLhsl(97, 72%, 30%)
HSVhsv(97, 84%, 51%)
CMYKcmyk(52.3%, 0%, 83.8%, 49%)
CIE-LABlab(48.31, -40.35, 47.50)
CIE-LCHlch(48.31, 62.33, 130.35°)
OKLaboklab(54.11% -0.1122 0.1048)
OKLCHoklch(54.11% 0.154 137)
XYZxyz(10.1043, 17.0428, 3.4665)
Luminance0.1704 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8215 #591582
analogous
#758215 #3E8215 #158223
triadic
#3E8215 #153E82 #82153E
tetradic
#3E8215 #157582 #591582 #822315
square
#3E8215 #157582 #591582 #822315
split-complementary
#3E8215 #231582 #821575
monochromatic
#0D1A04 #254D0C #3E8215 #57B71E #74DE33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E8215#FFFFFF#000000##FFFFFF
##3E82151.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)
#7E7122
Tritanopia (blue-blind)
#3A7D6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3e8215;
/* rgb */ color: rgb(62, 130, 21);
/* oklch */ color: oklch(54.1% 0.154 137.0);
Tailwind
colors: {
  custom: {
    50: '#7ba75d',
    500: '#3e8215',
    950: '#000000',
  },
}
SCSS
$custom: #3e8215;
$custom-light: #7ba75d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8215",
  "rgb": {
    "r": 62,
    "g": 130,
    "b": 21
  },
  "hsl": {
    "h": 97.431,
    "s": 72.185,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54106,
    "c": 0.15353,
    "h": 137
  },
  "luminance": 0.17044
}

Semantic roles & 50–950 ramp

primary
#3E8215
secondary
#893CB7
accent
#39EFAA
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E8215

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

Preview Lab → · Contrast checker → · Palette generator →

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