#3E8815#3E8815

#3E8815 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 55.8% C 0.161 H 137.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#3E8815
RGBrgb(62, 136, 21)
HSLhsl(99, 73%, 31%)
HSVhsv(99, 85%, 53%)
CMYKcmyk(54.4%, 0%, 84.6%, 46.7%)
CIE-LABlab(50.32, -42.74, 49.33)
CIE-LCHlch(50.32, 65.27, 130.91°)
OKLaboklab(55.76% -0.1186 0.1086)
OKLCHoklch(55.76% 0.161 137.5)
XYZxyz(10.9258, 18.6858, 3.7403)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8815 #5F1588
analogous
#778815 #3E8815 #158826
triadic
#3E8815 #153E88 #88153E
tetradic
#3E8815 #157788 #5F1588 #882615
square
#3E8815 #157788 #5F1588 #882615
split-complementary
#3E8815 #261588 #881577
monochromatic
#0E1E05 #26530D #3E8815 #56BD1D #73E037

Accessibility & contrast

On white

4.43
#3E8815 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#3E8815 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3E8815
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E8815#FFFFFF#000000##000000
##3E88151.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#398373
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3e8815;
/* rgb */ color: rgb(62, 136, 21);
/* oklch */ color: oklch(55.8% 0.161 137.5);
Tailwind
colors: {
  custom: {
    50: '#7cab5e',
    500: '#3e8815',
    950: '#000000',
  },
}
SCSS
$custom: #3e8815;
$custom-light: #7cab5e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8815",
  "rgb": {
    "r": 62,
    "g": 136,
    "b": 21
  },
  "hsl": {
    "h": 98.609,
    "s": 73.248,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55758,
    "c": 0.16083,
    "h": 137.5
  },
  "luminance": 0.18687
}

Semantic roles & 50–950 ramp

primary
#3E8815
secondary
#8F3DBC
accent
#38F0AE
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3E8815

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

Preview Lab → · Contrast checker → · Palette generator →

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