#3E8F1F#3E8F1F

#3E8F1F is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.7% C 0.164 H 138.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#3E8F1F
RGBrgb(62, 143, 31)
HSLhsl(103, 64%, 34%)
HSVhsv(103, 78%, 56%)
CMYKcmyk(56.6%, 0%, 78.3%, 43.9%)
CIE-LABlab(52.69, -44.87, 48.43)
CIE-LCHlch(52.69, 66.02, 132.81°)
OKLaboklab(57.73% -0.1237 0.1083)
OKLCHoklch(57.73% 0.164 138.8)
XYZxyz(12.0559, 20.7670, 4.6692)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8F1F #701F8F
analogous
#768F1F #3E8F1F #1F8F38
triadic
#3E8F1F #1F3E8F #8F1F3E
tetradic
#3E8F1F #1F768F #701F8F #8F381F
square
#3E8F1F #1F768F #701F8F #8F381F
split-complementary
#3E8F1F #381F8F #8F1F76
monochromatic
#122A09 #285D14 #3E8F1F #54C12A #76D94F

Accessibility & contrast

On white

4.07
#3E8F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#3E8F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3E8F1F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E8F1F#FFFFFF#000000##000000
##3E8F1F1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938203
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#368A7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3e8f1f;
/* rgb */ color: rgb(62, 143, 31);
/* oklch */ color: oklch(57.7% 0.164 138.8);
Tailwind
colors: {
  custom: {
    50: '#7db064',
    500: '#3e8f1f',
    950: '#000000',
  },
}
SCSS
$custom: #3e8f1f;
$custom-light: #7db064;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8f1f",
  "rgb": {
    "r": 62,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 103.393,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57734,
    "c": 0.16443,
    "h": 138.8
  },
  "luminance": 0.20768
}

Semantic roles & 50–950 ramp

primary
#3E8F1F
secondary
#9D4EBC
accent
#40E7B9
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #3E8F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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