#3E7016#3E7016

#3E7016 is a mid, vivid yellow-green. Relative luminance 0.127; OKLCH L 49.1% C 0.130 H 134.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#3E7016
RGBrgb(62, 112, 22)
HSLhsl(93, 67%, 26%)
HSVhsv(93, 80%, 44%)
CMYKcmyk(44.6%, 0%, 80.4%, 56.1%)
CIE-LABlab(42.26, -32.69, 41.51)
CIE-LCHlch(42.26, 52.84, 128.22°)
OKLaboklab(49.13% -0.0915 0.0924)
OKLCHoklch(49.13% 0.13 134.7)
XYZxyz(7.9254, 12.6700, 2.7868)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7016 #481670
analogous
#6B7016 #3E7016 #16701B
triadic
#3E7016 #163E70 #70163E
tetradic
#3E7016 #166B70 #481670 #701B16
square
#3E7016 #166B70 #481670 #701B16
split-complementary
#3E7016 #1B1670 #70166B
monochromatic
#0E1A05 #223D0C #3E7016 #5AA320 #77D52B

Accessibility & contrast

On white

5.94
#3E7016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#3E7016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7016
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7016#FFFFFF#000000##FFFFFF
##3E70161.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746602
Deuteranopia (green-blind)
#6E6220
Tritanopia (blue-blind)
#3D6B5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3e7016;
/* rgb */ color: rgb(62, 112, 22);
/* oklch */ color: oklch(49.1% 0.130 134.7);
Tailwind
colors: {
  custom: {
    50: '#78995b',
    500: '#3e7016',
    950: '#000000',
  },
}
SCSS
$custom: #3e7016;
$custom-light: #78995b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7016",
  "rgb": {
    "r": 62,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 93.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49134,
    "c": 0.13007,
    "h": 134.7
  },
  "luminance": 0.1267
}

Semantic roles & 50–950 ramp

primary
#3E7016
secondary
#773CA6
accent
#3EEA9D
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3E7016

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

Preview Lab → · Contrast checker → · Palette generator →

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