#3E7B15#3E7B15

#3E7B15 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.2% C 0.145 H 136.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#3E7B15
RGBrgb(62, 123, 21)
HSLhsl(96, 71%, 28%)
HSVhsv(96, 83%, 48%)
CMYKcmyk(49.6%, 0%, 82.9%, 51.8%)
CIE-LABlab(45.97, -37.48, 45.33)
CIE-LCHlch(45.97, 58.82, 129.59°)
OKLaboklab(52.17% -0.1045 0.1003)
OKLCHoklch(52.17% 0.145 136.2)
XYZxyz(9.2047, 15.2436, 3.1666)
Luminance0.1524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7B15 #52157B
analogous
#717B15 #3E7B15 #157B1F
triadic
#3E7B15 #153E7B #7B153E
tetradic
#3E7B15 #15717B #52157B #7B1F15
square
#3E7B15 #15717B #52157B #7B1F15
split-complementary
#3E7B15 #1F157B #7B1571
monochromatic
#0D1A04 #24470C #3E7B15 #58AF1E #74DB2F

Accessibility & contrast

On white

5.19
#3E7B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#3E7B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7B15
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7B15#FFFFFF#000000##FFFFFF
##3E7B151.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#786B21
Tritanopia (blue-blind)
#3B7668
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3e7b15;
/* rgb */ color: rgb(62, 123, 21);
/* oklch */ color: oklch(52.2% 0.145 136.2);
Tailwind
colors: {
  custom: {
    50: '#7aa25c',
    500: '#3e7b15',
    950: '#000000',
  },
}
SCSS
$custom: #3e7b15;
$custom-light: #7aa25c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7b15",
  "rgb": {
    "r": 62,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 95.882,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52174,
    "c": 0.14481,
    "h": 136.2
  },
  "luminance": 0.15244
}

Semantic roles & 50–950 ramp

primary
#3E7B15
secondary
#813BB0
accent
#3AEEA5
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3E7B15

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

Preview Lab → · Contrast checker → · Palette generator →

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