#3E7217#3E7217

#3E7217 is a mid, vivid yellow-green. Relative luminance 0.131; OKLCH L 49.7% C 0.132 H 135.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#3E7217
RGBrgb(62, 114, 23)
HSLhsl(94, 66%, 27%)
HSVhsv(94, 80%, 45%)
CMYKcmyk(45.6%, 0%, 79.8%, 55.3%)
CIE-LABlab(42.94, -33.51, 41.81)
CIE-LCHlch(42.94, 53.58, 128.71°)
OKLaboklab(49.7% -0.0937 0.0932)
OKLCHoklch(49.7% 0.132 135.2)
XYZxyz(8.1584, 13.1201, 2.9130)
Luminance0.1312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7217 #4B1772
analogous
#6C7217 #3E7217 #17721E
triadic
#3E7217 #173E72 #72173E
tetradic
#3E7217 #176C72 #4B1772 #721E17
square
#3E7217 #176C72 #4B1772 #721E17
split-complementary
#3E7217 #1E1772 #72176C
monochromatic
#0E1905 #223F0D #3E7217 #5AA521 #76D52E

Accessibility & contrast

On white

5.79
#3E7217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#3E7217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7217
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7217#FFFFFF#000000##FFFFFF
##3E72171.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766802
Deuteranopia (green-blind)
#706421
Tritanopia (blue-blind)
#3D6D61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3e7217;
/* rgb */ color: rgb(62, 114, 23);
/* oklch */ color: oklch(49.7% 0.132 135.2);
Tailwind
colors: {
  custom: {
    50: '#799b5c',
    500: '#3e7217',
    950: '#000000',
  },
}
SCSS
$custom: #3e7217;
$custom-light: #799b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7217",
  "rgb": {
    "r": 62,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 94.286,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49695,
    "c": 0.13214,
    "h": 135.2
  },
  "luminance": 0.13121
}

Semantic roles & 50–950 ramp

primary
#3E7217
secondary
#7A3DA8
accent
#3EE9A0
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3E7217

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

Preview Lab → · Contrast checker → · Palette generator →

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