#3E6216#3E6216

#3E6216 is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.2% C 0.111 H 131.8°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#3E6216
RGBrgb(62, 98, 22)
HSLhsl(88, 63%, 24%)
HSVhsv(88, 78%, 38%)
CMYKcmyk(36.7%, 0%, 77.6%, 61.6%)
CIE-LABlab(37.51, -26.20, 36.88)
CIE-LCHlch(37.51, 45.24, 125.38°)
OKLaboklab(45.25% -0.074 0.0827)
OKLCHoklch(45.25% 0.111 131.8)
XYZxyz(6.4990, 9.8172, 2.3114)
Luminance0.0982 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E6216 #3A1662
analogous
#626016 #3E6216 #186216
triadic
#3E6216 #163E62 #62163E
tetradic
#3E6216 #166260 #3A1662 #621618
square
#3E6216 #166260 #3A1662 #621618
split-complementary
#3E6216 #161862 #601662
monochromatic
#101906 #1E300B #3E6216 #5E9421 #7DC62C

Accessibility & contrast

On white

7.09
#3E6216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#3E6216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E6216
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E6216#FFFFFF#000000##FFFFFF
##3E62161.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A08
Deuteranopia (green-blind)
#62571D
Tritanopia (blue-blind)
#3F5E53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3e6216;
/* rgb */ color: rgb(62, 98, 22);
/* oklch */ color: oklch(45.2% 0.111 131.8);
Tailwind
colors: {
  custom: {
    50: '#778f59',
    500: '#3e6216',
    950: '#000000',
  },
}
SCSS
$custom: #3e6216;
$custom-light: #778f59;
$custom-dark: #000000;
JSON
{
  "hex": "#3e6216",
  "rgb": {
    "r": 62,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 88.421,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45249,
    "c": 0.11098,
    "h": 131.8
  },
  "luminance": 0.09817
}

Semantic roles & 50–950 ramp

primary
#3E6216
secondary
#673B99
accent
#41E690
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #3E6216

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

Preview Lab → · Contrast checker → · Palette generator →

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