#3E7312#3E7312

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

Color values

HEX#3E7312
RGBrgb(62, 115, 18)
HSLhsl(93, 73%, 26%)
HSVhsv(93, 84%, 45%)
CMYKcmyk(46.1%, 0%, 84.3%, 54.9%)
CIE-LABlab(43.25, -34.24, 43.76)
CIE-LCHlch(43.25, 55.56, 128.04°)
OKLaboklab(49.94% -0.096 0.0965)
OKLCHoklch(49.94% 0.136 134.9)
XYZxyz(8.2263, 13.3288, 2.7114)
Luminance0.1333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7312 #471273
analogous
#6E7312 #3E7312 #127317
triadic
#3E7312 #123E73 #73123E
tetradic
#3E7312 #126E73 #471273 #731712
square
#3E7312 #126E73 #471273 #731712
split-complementary
#3E7312 #171273 #73126E
monochromatic
#0E1A04 #213E0A #3E7312 #5BA81A #77DD23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #3e7312;
/* rgb */ color: rgb(62, 115, 18);
/* oklch */ color: oklch(49.9% 0.136 134.9);
Tailwind
colors: {
  custom: {
    50: '#799c5a',
    500: '#3e7312',
    950: '#000000',
  },
}
SCSS
$custom: #3e7312;
$custom-light: #799c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7312",
  "rgb": {
    "r": 62,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 92.784,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49942,
    "c": 0.13608,
    "h": 134.9
  },
  "luminance": 0.13329
}

Semantic roles & 50–950 ramp

primary
#3E7312
secondary
#7637AA
accent
#38F09C
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3E7312

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

Preview Lab → · Contrast checker → · Palette generator →

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