#3E7315#3E7315

#3E7315 is a mid, vivid yellow-green. Relative luminance 0.133; OKLCH L 50.0% C 0.135 H 135.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#3E7315
RGBrgb(62, 115, 21)
HSLhsl(94, 69%, 27%)
HSVhsv(94, 82%, 45%)
CMYKcmyk(46.1%, 0%, 81.7%, 54.9%)
CIE-LABlab(43.27, -34.07, 42.81)
CIE-LCHlch(43.27, 54.72, 128.51°)
OKLaboklab(49.96% -0.0953 0.095)
OKLCHoklch(49.96% 0.135 135.1)
XYZxyz(8.2525, 13.3393, 2.8492)
Luminance0.1334 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7315 #4A1573
analogous
#6D7315 #3E7315 #15731B
triadic
#3E7315 #153E73 #73153E
tetradic
#3E7315 #156D73 #4A1573 #731B15
square
#3E7315 #156D73 #4A1573 #731B15
split-complementary
#3E7315 #1B1573 #73156D
monochromatic
#0E1A05 #223F0C #3E7315 #5AA71E #76D82A

Accessibility & contrast

On white

5.73
#3E7315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#3E7315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7315
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7315#FFFFFF#000000##FFFFFF
##3E73151.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#70651F
Tritanopia (blue-blind)
#3D6E62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3e7315;
/* rgb */ color: rgb(62, 115, 21);
/* oklch */ color: oklch(50.0% 0.135 135.1);
Tailwind
colors: {
  custom: {
    50: '#799c5b',
    500: '#3e7315',
    950: '#000000',
  },
}
SCSS
$custom: #3e7315;
$custom-light: #799c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7315",
  "rgb": {
    "r": 62,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 93.83,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49959,
    "c": 0.13456,
    "h": 135.1
  },
  "luminance": 0.1334
}

Semantic roles & 50–950 ramp

primary
#3E7315
secondary
#793BA9
accent
#3CEC9F
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3E7315

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

Preview Lab → · Contrast checker → · Palette generator →

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