#3E7D1B#3E7D1B

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

Color values

HEX#3E7D1B
RGBrgb(62, 125, 27)
HSLhsl(99, 64%, 30%)
HSVhsv(99, 78%, 49%)
CMYKcmyk(50.4%, 0%, 78.4%, 51%)
CIE-LABlab(46.67, -37.95, 43.99)
CIE-LCHlch(46.67, 58.09, 130.78°)
OKLaboklab(52.76% -0.1054 0.0984)
OKLCHoklch(52.76% 0.144 137)
XYZxyz(9.5178, 15.7698, 3.5791)
Luminance0.1577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7D1B #5A1B7D
analogous
#6F7D1B #3E7D1B #1B7D29
triadic
#3E7D1B #1B3E7D #7D1B3E
tetradic
#3E7D1B #1B6F7D #5A1B7D #7D291B
square
#3E7D1B #1B6F7D #5A1B7D #7D291B
split-complementary
#3E7D1B #291B7D #7D1B6F
monochromatic
#0C1905 #254B10 #3E7D1B #57AF26 #74D53D

Accessibility & contrast

On white

5.06
#3E7D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3E7D1B
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7D1B#FFFFFF#000000##FFFFFF
##3E7D1B1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e7d1b;
/* rgb */ color: rgb(62, 125, 27);
/* oklch */ color: oklch(52.8% 0.144 137.0);
Tailwind
colors: {
  custom: {
    50: '#7aa35f',
    500: '#3e7d1b',
    950: '#000000',
  },
}
SCSS
$custom: #3e7d1b;
$custom-light: #7aa35f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7d1b",
  "rgb": {
    "r": 62,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 98.571,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52765,
    "c": 0.14416,
    "h": 137
  },
  "luminance": 0.1577
}

Semantic roles & 50–950 ramp

primary
#3E7D1B
secondary
#8A43B1
accent
#40E7AC
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E7D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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