#3E7E1B#3E7E1B

#3E7E1B is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.0% C 0.145 H 137.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#3E7E1B
RGBrgb(62, 126, 27)
HSLhsl(99, 65%, 30%)
HSVhsv(99, 79%, 49%)
CMYKcmyk(50.8%, 0%, 78.6%, 50.6%)
CIE-LABlab(47.01, -38.36, 44.31)
CIE-LCHlch(47.01, 58.61, 130.88°)
OKLaboklab(53.04% -0.1065 0.0991)
OKLCHoklch(53.04% 0.145 137.1)
XYZxyz(9.6450, 16.0243, 3.6215)
Luminance0.1603 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7E1B #5B1B7E
analogous
#6F7E1B #3E7E1B #1B7E2A
triadic
#3E7E1B #1B3E7E #7E1B3E
tetradic
#3E7E1B #1B6F7E #5B1B7E #7E2A1B
square
#3E7E1B #1B6F7E #5B1B7E #7E2A1B
split-complementary
#3E7E1B #2A1B7E #7E1B6F
monochromatic
#0C1905 #254C10 #3E7E1B #57B026 #73D63E

Accessibility & contrast

On white

4.99
#3E7E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#3E7E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7E1B
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7E1B#FFFFFF#000000##FFFFFF
##3E7E1B1.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827304
Deuteranopia (green-blind)
#7A6D26
Tritanopia (blue-blind)
#3A796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3e7e1b;
/* rgb */ color: rgb(62, 126, 27);
/* oklch */ color: oklch(53.0% 0.145 137.1);
Tailwind
colors: {
  custom: {
    50: '#7aa45f',
    500: '#3e7e1b',
    950: '#000000',
  },
}
SCSS
$custom: #3e7e1b;
$custom-light: #7aa45f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7e1b",
  "rgb": {
    "r": 62,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 98.788,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.5304,
    "c": 0.14544,
    "h": 137.1
  },
  "luminance": 0.16025
}

Semantic roles & 50–950 ramp

primary
#3E7E1B
secondary
#8B43B2
accent
#40E8AC
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E7E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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