#3E7215#3E7215

#3E7215 is a mid, vivid yellow-green. Relative luminance 0.131; OKLCH L 49.7% C 0.133 H 135.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#3E7215
RGBrgb(62, 114, 21)
HSLhsl(94, 69%, 26%)
HSVhsv(94, 82%, 45%)
CMYKcmyk(45.6%, 0%, 81.6%, 55.3%)
CIE-LABlab(42.93, -33.63, 42.49)
CIE-LCHlch(42.93, 54.19, 128.36°)
OKLaboklab(49.68% -0.0941 0.0943)
OKLCHoklch(49.68% 0.133 135)
XYZxyz(8.1391, 13.1124, 2.8114)
Luminance0.1311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7215 #491572
analogous
#6D7215 #3E7215 #15721A
triadic
#3E7215 #153E72 #72153E
tetradic
#3E7215 #156D72 #491572 #721A15
square
#3E7215 #156D72 #491572 #721A15
split-complementary
#3E7215 #1A1572 #72156D
monochromatic
#0E1A05 #223E0B #3E7215 #5AA61F #76D82A

Accessibility & contrast

On white

5.80
#3E7215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#3E7215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7215
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7215#FFFFFF#000000##FFFFFF
##3E72151.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#70641F
Tritanopia (blue-blind)
#3D6D61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3e7215;
/* rgb */ color: rgb(62, 114, 21);
/* oklch */ color: oklch(49.7% 0.133 135.0);
Tailwind
colors: {
  custom: {
    50: '#799b5b',
    500: '#3e7215',
    950: '#000000',
  },
}
SCSS
$custom: #3e7215;
$custom-light: #799b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7215",
  "rgb": {
    "r": 62,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 93.548,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49682,
    "c": 0.13325,
    "h": 135
  },
  "luminance": 0.13113
}

Semantic roles & 50–950 ramp

primary
#3E7215
secondary
#783BA8
accent
#3CEC9E
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3E7215

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

Preview Lab → · Contrast checker → · Palette generator →

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