#3E7012#3E7012

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

Color values

HEX#3E7012
RGBrgb(62, 112, 18)
HSLhsl(92, 72%, 25%)
HSVhsv(92, 84%, 44%)
CMYKcmyk(44.6%, 0%, 83.9%, 56.1%)
CIE-LABlab(42.24, -32.92, 42.83)
CIE-LCHlch(42.24, 54.02, 127.55°)
OKLaboklab(49.11% -0.0924 0.0945)
OKLCHoklch(49.11% 0.132 134.4)
XYZxyz(7.8898, 12.6557, 2.5992)
Luminance0.1266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7012 #441270
analogous
#6D7012 #3E7012 #127015
triadic
#3E7012 #123E70 #70123E
tetradic
#3E7012 #126D70 #441270 #701512
square
#3E7012 #126D70 #441270 #701512
split-complementary
#3E7012 #151270 #70126D
monochromatic
#0F1A04 #213B0A #3E7012 #5BA51A #78D923

Accessibility & contrast

On white

5.95
#3E7012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3E7012
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7012#FFFFFF#000000##FFFFFF
##3E70121.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e7012;
/* rgb */ color: rgb(62, 112, 18);
/* oklch */ color: oklch(49.1% 0.132 134.4);
Tailwind
colors: {
  custom: {
    50: '#799959',
    500: '#3e7012',
    950: '#000000',
  },
}
SCSS
$custom: #3e7012;
$custom-light: #799959;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7012",
  "rgb": {
    "r": 62,
    "g": 112,
    "b": 18
  },
  "hsl": {
    "h": 91.915,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49109,
    "c": 0.1322,
    "h": 134.4
  },
  "luminance": 0.12656
}

Semantic roles & 50–950 ramp

primary
#3E7012
secondary
#7237A7
accent
#39EF9A
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3E7012

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

Preview Lab → · Contrast checker → · Palette generator →

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