#3E7512#3E7512

#3E7512 is a mid, vivid yellow-green. Relative luminance 0.138; OKLCH L 50.5% C 0.139 H 135.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#3E7512
RGBrgb(62, 117, 18)
HSLhsl(93, 73%, 26%)
HSVhsv(93, 85%, 46%)
CMYKcmyk(47%, 0%, 84.6%, 54.1%)
CIE-LABlab(43.93, -35.10, 44.38)
CIE-LCHlch(43.93, 56.58, 128.34°)
OKLaboklab(50.5% -0.0983 0.0978)
OKLCHoklch(50.5% 0.139 135.2)
XYZxyz(8.4569, 13.7899, 2.7882)
Luminance0.1379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7512 #491275
analogous
#707512 #3E7512 #127518
triadic
#3E7512 #123E75 #75123E
tetradic
#3E7512 #127075 #491275 #751812
square
#3E7512 #127075 #491275 #751812
split-complementary
#3E7512 #181275 #751270
monochromatic
#0E1B04 #22400A #3E7512 #5AAA1A #76DD24

Accessibility & contrast

On white

5.59
#3E7512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#3E7512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7512
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7512#FFFFFF#000000##FFFFFF
##3E75121.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#72661E
Tritanopia (blue-blind)
#3C7063
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3e7512;
/* rgb */ color: rgb(62, 117, 18);
/* oklch */ color: oklch(50.5% 0.139 135.2);
Tailwind
colors: {
  custom: {
    50: '#799d5a',
    500: '#3e7512',
    950: '#000000',
  },
}
SCSS
$custom: #3e7512;
$custom-light: #799d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7512",
  "rgb": {
    "r": 62,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 93.333,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50496,
    "c": 0.13864,
    "h": 135.2
  },
  "luminance": 0.1379
}

Semantic roles & 50–950 ramp

primary
#3E7512
secondary
#7837AC
accent
#38F09E
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3E7512

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

Preview Lab → · Contrast checker → · Palette generator →

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