#3E7017#3E7017

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

Color values

HEX#3E7017
RGBrgb(62, 112, 23)
HSLhsl(94, 66%, 26%)
HSVhsv(94, 79%, 44%)
CMYKcmyk(44.6%, 0%, 79.5%, 56.1%)
CIE-LABlab(42.27, -32.62, 41.16)
CIE-LCHlch(42.27, 52.52, 128.40°)
OKLaboklab(49.14% -0.0913 0.0918)
OKLCHoklch(49.14% 0.129 134.8)
XYZxyz(7.9353, 12.6739, 2.8386)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7017 #491770
analogous
#6B7017 #3E7017 #17701D
triadic
#3E7017 #173E70 #70173E
tetradic
#3E7017 #176B70 #491770 #701D17
square
#3E7017 #176B70 #491770 #701D17
split-complementary
#3E7017 #1D1770 #70176B
monochromatic
#0E1905 #223D0D #3E7017 #5AA321 #76D42D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E7017#FFFFFF#000000##FFFFFF
##3E70171.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)
#746603
Deuteranopia (green-blind)
#6E6220
Tritanopia (blue-blind)
#3D6B5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3e7017;
/* rgb */ color: rgb(62, 112, 23);
/* oklch */ color: oklch(49.1% 0.129 134.8);
Tailwind
colors: {
  custom: {
    50: '#78995c',
    500: '#3e7017',
    950: '#000000',
  },
}
SCSS
$custom: #3e7017;
$custom-light: #78995c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7017",
  "rgb": {
    "r": 62,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 93.708,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49141,
    "c": 0.12949,
    "h": 134.8
  },
  "luminance": 0.12674
}

Semantic roles & 50–950 ramp

primary
#3E7017
secondary
#783DA6
accent
#3FE99E
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3E7017

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

Preview Lab → · Contrast checker → · Palette generator →

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