#3E7311#3E7311

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

Color values

HEX#3E7311
RGBrgb(62, 115, 17)
HSLhsl(92, 74%, 26%)
HSVhsv(92, 85%, 45%)
CMYKcmyk(46.1%, 0%, 85.2%, 54.9%)
CIE-LABlab(43.25, -34.29, 44.05)
CIE-LCHlch(43.25, 55.83, 127.89°)
OKLaboklab(49.94% -0.0962 0.0969)
OKLCHoklch(49.94% 0.137 134.8)
XYZxyz(8.2183, 13.3256, 2.6693)
Luminance0.1333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7311 #461173
analogous
#6F7311 #3E7311 #117315
triadic
#3E7311 #113E73 #73113E
tetradic
#3E7311 #116F73 #461173 #731511
square
#3E7311 #116F73 #461173 #731511
split-complementary
#3E7311 #151173 #73116F
monochromatic
#0E1B04 #213E09 #3E7311 #5BA819 #77DE21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E7311#FFFFFF#000000##FFFFFF
##3E73111.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)
#71651D
Tritanopia (blue-blind)
#3D6E61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3e7311;
/* rgb */ color: rgb(62, 115, 17);
/* oklch */ color: oklch(49.9% 0.137 134.8);
Tailwind
colors: {
  custom: {
    50: '#799c59',
    500: '#3e7311',
    950: '#000000',
  },
}
SCSS
$custom: #3e7311;
$custom-light: #799c59;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7311",
  "rgb": {
    "r": 62,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 92.449,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49936,
    "c": 0.13655,
    "h": 134.8
  },
  "luminance": 0.13326
}

Semantic roles & 50–950 ramp

primary
#3E7311
secondary
#7536AA
accent
#37F19B
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3E7311

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

Preview Lab → · Contrast checker → · Palette generator →

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