#3E7515#3E7515

#3E7515 is a mid, vivid yellow-green. Relative luminance 0.138; OKLCH L 50.5% C 0.137 H 135.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#3E7515
RGBrgb(62, 117, 21)
HSLhsl(94, 70%, 27%)
HSVhsv(94, 82%, 46%)
CMYKcmyk(47%, 0%, 82.1%, 54.1%)
CIE-LABlab(43.95, -34.94, 43.45)
CIE-LCHlch(43.95, 55.75, 128.80°)
OKLaboklab(50.51% -0.0977 0.0963)
OKLCHoklch(50.51% 0.137 135.4)
XYZxyz(8.4831, 13.8003, 2.9261)
Luminance0.1380 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7515 #4C1575
analogous
#6E7515 #3E7515 #15751C
triadic
#3E7515 #153E75 #75153E
tetradic
#3E7515 #156E75 #4C1575 #751C15
square
#3E7515 #156E75 #4C1575 #751C15
split-complementary
#3E7515 #1C1575 #75156E
monochromatic
#0E1A05 #23410C #3E7515 #59A91E #76D92B

Accessibility & contrast

On white

5.58
#3E7515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#3E7515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7515
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7515#FFFFFF#000000##FFFFFF
##3E75151.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#3C7063
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3e7515;
/* rgb */ color: rgb(62, 117, 21);
/* oklch */ color: oklch(50.5% 0.137 135.4);
Tailwind
colors: {
  custom: {
    50: '#799d5b',
    500: '#3e7515',
    950: '#000000',
  },
}
SCSS
$custom: #3e7515;
$custom-light: #799d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7515",
  "rgb": {
    "r": 62,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 94.375,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50513,
    "c": 0.13715,
    "h": 135.4
  },
  "luminance": 0.13801
}

Semantic roles & 50–950 ramp

primary
#3E7515
secondary
#7B3BAB
accent
#3BECA1
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3E7515

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

Preview Lab → · Contrast checker → · Palette generator →

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