#3E7220#3E7220

#3E7220 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 49.8% C 0.126 H 136.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#3E7220
RGBrgb(62, 114, 32)
HSLhsl(98, 56%, 29%)
HSVhsv(98, 72%, 45%)
CMYKcmyk(45.6%, 0%, 71.9%, 55.3%)
CIE-LABlab(43.01, -32.83, 38.32)
CIE-LCHlch(43.01, 50.46, 130.59°)
OKLaboklab(49.77% -0.0912 0.0873)
OKLCHoklch(49.77% 0.126 136.3)
XYZxyz(8.2644, 13.1626, 3.4714)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7220 #542072
analogous
#677220 #3E7220 #20722B
triadic
#3E7220 #203E72 #72203E
tetradic
#3E7220 #206772 #542072 #722B20
square
#3E7220 #206772 #542072 #722B20
split-complementary
#3E7220 #2B2072 #722067
monochromatic
#0D1807 #244213 #3E7220 #58A22D #74CA42

Accessibility & contrast

On white

5.78
#3E7220 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#3E7220 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7220
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7220#FFFFFF#000000##FFFFFF
##3E72201.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766814
Deuteranopia (green-blind)
#6F6427
Tritanopia (blue-blind)
#3C6E62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3e7220;
/* rgb */ color: rgb(62, 114, 32);
/* oklch */ color: oklch(49.8% 0.126 136.3);
Tailwind
colors: {
  custom: {
    50: '#789b60',
    500: '#3e7220',
    950: '#000000',
  },
}
SCSS
$custom: #3e7220;
$custom-light: #789b60;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7220",
  "rgb": {
    "r": 62,
    "g": 114,
    "b": 32
  },
  "hsl": {
    "h": 98.049,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49768,
    "c": 0.12621,
    "h": 136.3
  },
  "luminance": 0.13163
}

Semantic roles & 50–950 ramp

primary
#3E7220
secondary
#8348A6
accent
#48DFA8
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3E7220

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

Preview Lab → · Contrast checker → · Palette generator →

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