#3E7C1C#3E7C1C

#3E7C1C is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.5% C 0.142 H 137.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#3E7C1C
RGBrgb(62, 124, 28)
HSLhsl(99, 63%, 30%)
HSVhsv(99, 77%, 49%)
CMYKcmyk(50%, 0%, 77.4%, 51.4%)
CIE-LABlab(46.34, -37.46, 43.30)
CIE-LCHlch(46.34, 57.26, 130.86°)
OKLaboklab(52.5% -0.104 0.0971)
OKLCHoklch(52.5% 0.142 137)
XYZxyz(9.4036, 15.5226, 3.5990)
Luminance0.1552 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7C1C #5A1C7C
analogous
#6E7C1C #3E7C1C #1C7C2A
triadic
#3E7C1C #1C3E7C #7C1C3E
tetradic
#3E7C1C #1C6E7C #5A1C7C #7C2A1C
square
#3E7C1C #1C6E7C #5A1C7C #7C2A1C
split-complementary
#3E7C1C #2A1C7C #7C1C6E
monochromatic
#0C1906 #254A11 #3E7C1C #57AE27 #74D43F

Accessibility & contrast

On white

5.12
#3E7C1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#3E7C1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7C1C
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7C1C#FFFFFF#000000##FFFFFF
##3E7C1C1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807108
Deuteranopia (green-blind)
#786C26
Tritanopia (blue-blind)
#3A776A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3e7c1c;
/* rgb */ color: rgb(62, 124, 28);
/* oklch */ color: oklch(52.5% 0.142 137.0);
Tailwind
colors: {
  custom: {
    50: '#7aa260',
    500: '#3e7c1c',
    950: '#000000',
  },
}
SCSS
$custom: #3e7c1c;
$custom-light: #7aa260;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7c1c",
  "rgb": {
    "r": 62,
    "g": 124,
    "b": 28
  },
  "hsl": {
    "h": 98.75,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52496,
    "c": 0.14227,
    "h": 137
  },
  "luminance": 0.15523
}

Semantic roles & 50–950 ramp

primary
#3E7C1C
secondary
#8A44B0
accent
#42E6AC
background
#F7FAF5
surface
#EEF3EA
border
#C9CDC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E7C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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