#3E8415#3E8415

#3E8415 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 54.7% C 0.156 H 137.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#3E8415
RGBrgb(62, 132, 21)
HSLhsl(98, 73%, 30%)
HSVhsv(98, 84%, 52%)
CMYKcmyk(53%, 0%, 84.1%, 48.2%)
CIE-LABlab(48.98, -41.16, 48.11)
CIE-LCHlch(48.98, 63.31, 130.55°)
OKLaboklab(54.66% -0.1143 0.1061)
OKLCHoklch(54.66% 0.156 137.1)
XYZxyz(10.3729, 17.5800, 3.5560)
Luminance0.1758 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8415 #5B1584
analogous
#758415 #3E8415 #158424
triadic
#3E8415 #153E84 #84153E
tetradic
#3E8415 #157584 #5B1584 #842415
square
#3E8415 #157584 #5B1584 #842415
split-complementary
#3E8415 #241584 #841575
monochromatic
#0C1A04 #254F0D #3E8415 #57B91D #73DF35

Accessibility & contrast

On white

4.65
#3E8415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#3E8415 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3E8415
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E8415#FFFFFF#000000##FFFFFF
##3E84151.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#807223
Tritanopia (blue-blind)
#397F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3e8415;
/* rgb */ color: rgb(62, 132, 21);
/* oklch */ color: oklch(54.7% 0.156 137.1);
Tailwind
colors: {
  custom: {
    50: '#7ba85e',
    500: '#3e8415',
    950: '#000000',
  },
}
SCSS
$custom: #3e8415;
$custom-light: #7ba85e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8415",
  "rgb": {
    "r": 62,
    "g": 132,
    "b": 21
  },
  "hsl": {
    "h": 97.838,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.54657,
    "c": 0.15598,
    "h": 137.1
  },
  "luminance": 0.17581
}

Semantic roles & 50–950 ramp

primary
#3E8415
secondary
#8B3CB9
accent
#39EFAC
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3E8415

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

Preview Lab → · Contrast checker → · Palette generator →

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