#3E7816#3E7816

#3E7816 is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.3% C 0.140 H 135.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#3E7816
RGBrgb(62, 120, 22)
HSLhsl(96, 69%, 28%)
HSVhsv(96, 82%, 47%)
CMYKcmyk(48.3%, 0%, 81.7%, 52.9%)
CIE-LABlab(44.96, -36.16, 44.07)
CIE-LCHlch(44.96, 57.01, 129.37°)
OKLaboklab(51.35% -0.1009 0.0978)
OKLCHoklch(51.35% 0.14 135.9)
XYZxyz(8.8477, 14.5144, 3.0943)
Luminance0.1452 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7816 #501678
analogous
#6F7816 #3E7816 #16781F
triadic
#3E7816 #163E78 #78163E
tetradic
#3E7816 #166F78 #501678 #781F16
square
#3E7816 #166F78 #501678 #781F16
split-complementary
#3E7816 #1F1678 #78166F
monochromatic
#0D1A05 #23440D #3E7816 #59AC1F #75D92F

Accessibility & contrast

On white

5.38
#3E7816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#3E7816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7816
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7816#FFFFFF#000000##FFFFFF
##3E78161.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6D00
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#3C7366
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3e7816;
/* rgb */ color: rgb(62, 120, 22);
/* oklch */ color: oklch(51.3% 0.140 135.9);
Tailwind
colors: {
  custom: {
    50: '#799f5c',
    500: '#3e7816',
    950: '#000000',
  },
}
SCSS
$custom: #3e7816;
$custom-light: #799f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7816",
  "rgb": {
    "r": 62,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 95.51,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5135,
    "c": 0.14049,
    "h": 135.9
  },
  "luminance": 0.14515
}

Semantic roles & 50–950 ramp

primary
#3E7816
secondary
#7F3CAD
accent
#3CECA4
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3E7816

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

Preview Lab → · Contrast checker → · Palette generator →

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