#3E7015#3E7015

#3E7015 is a mid, vivid yellow-green. Relative luminance 0.127; OKLCH L 49.1% C 0.131 H 134.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#3E7015
RGBrgb(62, 112, 21)
HSLhsl(93, 68%, 26%)
HSVhsv(93, 81%, 44%)
CMYKcmyk(44.6%, 0%, 81.2%, 56.1%)
CIE-LABlab(42.26, -32.75, 41.85)
CIE-LCHlch(42.26, 53.14, 128.04°)
OKLaboklab(49.13% -0.0918 0.093)
OKLCHoklch(49.13% 0.131 134.6)
XYZxyz(7.9160, 12.6662, 2.7370)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7015 #471570
analogous
#6B7015 #3E7015 #157019
triadic
#3E7015 #153E70 #70153E
tetradic
#3E7015 #156B70 #471570 #701915
square
#3E7015 #156B70 #471570 #701915
split-complementary
#3E7015 #191570 #70156B
monochromatic
#0E1A05 #213C0B #3E7015 #5BA41F #77D729

Accessibility & contrast

On white

5.94
#3E7015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#3E7015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7015
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7015#FFFFFF#000000##FFFFFF
##3E70151.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6E621F
Tritanopia (blue-blind)
#3D6B5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3e7015;
/* rgb */ color: rgb(62, 112, 21);
/* oklch */ color: oklch(49.1% 0.131 134.6);
Tailwind
colors: {
  custom: {
    50: '#78995b',
    500: '#3e7015',
    950: '#000000',
  },
}
SCSS
$custom: #3e7015;
$custom-light: #78995b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7015",
  "rgb": {
    "r": 62,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 92.967,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49127,
    "c": 0.13063,
    "h": 134.6
  },
  "luminance": 0.12667
}

Semantic roles & 50–950 ramp

primary
#3E7015
secondary
#763BA6
accent
#3DEB9D
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3E7015

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

Preview Lab → · Contrast checker → · Palette generator →

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