#3E7D22#3E7D22

#3E7D22 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.8% C 0.140 H 137.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#3E7D22
RGBrgb(62, 125, 34)
HSLhsl(102, 57%, 31%)
HSVhsv(102, 73%, 49%)
CMYKcmyk(50.4%, 0%, 72.8%, 51%)
CIE-LABlab(46.72, -37.42, 41.33)
CIE-LCHlch(46.72, 55.76, 132.16°)
OKLaboklab(52.82% -0.1034 0.0939)
OKLCHoklch(52.82% 0.14 137.8)
XYZxyz(9.6086, 15.8062, 4.0576)
Luminance0.1581 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7D22 #61227D
analogous
#6B7D22 #3E7D22 #227D33
triadic
#3E7D22 #223E7D #7D223E
tetradic
#3E7D22 #226B7D #61227D #7D3322
square
#3E7D22 #226B7D #61227D #7D3322
split-complementary
#3E7D22 #33227D #7D226B
monochromatic
#0E1D08 #264D15 #3E7D22 #56AD2F #74CE4B

Accessibility & contrast

On white

5.05
#3E7D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#3E7D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7D22
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7D22#FFFFFF#000000##FFFFFF
##3E7D221.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817214
Deuteranopia (green-blind)
#796D2B
Tritanopia (blue-blind)
#3A786B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3e7d22;
/* rgb */ color: rgb(62, 125, 34);
/* oklch */ color: oklch(52.8% 0.140 137.8);
Tailwind
colors: {
  custom: {
    50: '#7aa363',
    500: '#3e7d22',
    950: '#000000',
  },
}
SCSS
$custom: #3e7d22;
$custom-light: #7aa363;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7d22",
  "rgb": {
    "r": 62,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 101.538,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52819,
    "c": 0.13969,
    "h": 137.8
  },
  "luminance": 0.15807
}

Semantic roles & 50–950 ramp

primary
#3E7D22
secondary
#914BB0
accent
#47E0B1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #3E7D22

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

Preview Lab → · Contrast checker → · Palette generator →

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