#3E7A15#3E7A15

#3E7A15 is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 51.9% C 0.144 H 136.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#3E7A15
RGBrgb(62, 122, 21)
HSLhsl(96, 71%, 28%)
HSVhsv(96, 83%, 48%)
CMYKcmyk(49.2%, 0%, 82.8%, 52.2%)
CIE-LABlab(45.63, -37.06, 45.02)
CIE-LCHlch(45.63, 58.31, 129.46°)
OKLaboklab(51.9% -0.1034 0.0996)
OKLCHoklch(51.9% 0.144 136.1)
XYZxyz(9.0813, 14.9967, 3.1255)
Luminance0.1500 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7A15 #51157A
analogous
#707A15 #3E7A15 #157A1F
triadic
#3E7A15 #153E7A #7A153E
tetradic
#3E7A15 #15707A #51157A #7A1F15
square
#3E7A15 #15707A #51157A #7A1F15
split-complementary
#3E7A15 #1F157A #7A1570
monochromatic
#0D1A04 #23460C #3E7A15 #59AE1E #74DB2E

Accessibility & contrast

On white

5.25
#3E7A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#3E7A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7A15
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7A15#FFFFFF#000000##FFFFFF
##3E7A151.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#776A21
Tritanopia (blue-blind)
#3B7568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3e7a15;
/* rgb */ color: rgb(62, 122, 21);
/* oklch */ color: oklch(51.9% 0.144 136.1);
Tailwind
colors: {
  custom: {
    50: '#7aa15c',
    500: '#3e7a15',
    950: '#000000',
  },
}
SCSS
$custom: #3e7a15;
$custom-light: #7aa15c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7a15",
  "rgb": {
    "r": 62,
    "g": 122,
    "b": 21
  },
  "hsl": {
    "h": 95.644,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51898,
    "c": 0.14355,
    "h": 136.1
  },
  "luminance": 0.14997
}

Semantic roles & 50–950 ramp

primary
#3E7A15
secondary
#803BAF
accent
#3AEDA5
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F04
muted
#7C7E79

Preview Lab

Preview with #3E7A15

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

Preview Lab → · Contrast checker → · Palette generator →

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