#3E7D1C#3E7D1C

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

Color values

HEX#3E7D1C
RGBrgb(62, 125, 28)
HSLhsl(99, 63%, 30%)
HSVhsv(99, 78%, 49%)
CMYKcmyk(50.4%, 0%, 77.6%, 51%)
CIE-LABlab(46.68, -37.88, 43.63)
CIE-LCHlch(46.68, 57.78, 130.96°)
OKLaboklab(52.77% -0.1051 0.0978)
OKLCHoklch(52.77% 0.144 137.1)
XYZxyz(9.5295, 15.7745, 3.6410)
Luminance0.1578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7D1C #5B1C7D
analogous
#6F7D1C #3E7D1C #1C7D2A
triadic
#3E7D1C #1C3E7D #7D1C3E
tetradic
#3E7D1C #1C6F7D #5B1C7D #7D2A1C
square
#3E7D1C #1C6F7D #5B1C7D #7D2A1C
split-complementary
#3E7D1C #2A1C7D #7D1C6F
monochromatic
#0C1906 #254B11 #3E7D1C #57AF27 #73D43F

Accessibility & contrast

On white

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

On black

4.15
#3E7D1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3E7D1C#FFFFFF#000000##FFFFFF
##3E7D1C1.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817207
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#3A786A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3e7d1c;
/* rgb */ color: rgb(62, 125, 28);
/* oklch */ color: oklch(52.8% 0.144 137.1);
Tailwind
colors: {
  custom: {
    50: '#7aa360',
    500: '#3e7d1c',
    950: '#000000',
  },
}
SCSS
$custom: #3e7d1c;
$custom-light: #7aa360;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7d1c",
  "rgb": {
    "r": 62,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 98.969,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.52772,
    "c": 0.14356,
    "h": 137.1
  },
  "luminance": 0.15775
}

Semantic roles & 50–950 ramp

primary
#3E7D1C
secondary
#8B44B1
accent
#41E6AD
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E7D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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