#3E701F#3E701F

#3E701F is a mid, vivid yellow-green. Relative luminance 0.127; OKLCH L 49.2% C 0.124 H 135.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#3E701F
RGBrgb(62, 112, 31)
HSLhsl(97, 57%, 28%)
HSVhsv(97, 72%, 44%)
CMYKcmyk(44.6%, 0%, 72.3%, 56.1%)
CIE-LABlab(42.32, -32.02, 38.04)
CIE-LCHlch(42.32, 49.72, 130.09°)
OKLaboklab(49.21% -0.0891 0.0865)
OKLCHoklch(49.21% 0.124 135.8)
XYZxyz(8.0279, 12.7109, 3.3265)
Luminance0.1271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E701F #511F70
analogous
#66701F #3E701F #1F7028
triadic
#3E701F #1F3E70 #701F3E
tetradic
#3E701F #1F6670 #511F70 #70281F
square
#3E701F #1F6670 #511F70 #70281F
split-complementary
#3E701F #281F70 #701F66
monochromatic
#0D1807 #234012 #3E701F #59A02C #74CA3F

Accessibility & contrast

On white

5.93
#3E701F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3E701F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E701F
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E701F#FFFFFF#000000##FFFFFF
##3E701F1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746713
Deuteranopia (green-blind)
#6D6226
Tritanopia (blue-blind)
#3C6C60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3e701f;
/* rgb */ color: rgb(62, 112, 31);
/* oklch */ color: oklch(49.2% 0.124 135.8);
Tailwind
colors: {
  custom: {
    50: '#789960',
    500: '#3e701f',
    950: '#000000',
  },
}
SCSS
$custom: #3e701f;
$custom-light: #789960;
$custom-dark: #000000;
JSON
{
  "hex": "#3e701f",
  "rgb": {
    "r": 62,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 97.037,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49205,
    "c": 0.12417,
    "h": 135.8
  },
  "luminance": 0.12711
}

Semantic roles & 50–950 ramp

primary
#3E701F
secondary
#8047A4
accent
#48E0A6
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3E701F

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

Preview Lab → · Contrast checker → · Palette generator →

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