#3E7F12#3E7F12

#3E7F12 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.3% C 0.151 H 136.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#3E7F12
RGBrgb(62, 127, 18)
HSLhsl(96, 75%, 28%)
HSVhsv(96, 86%, 50%)
CMYKcmyk(51.2%, 0%, 85.8%, 50.2%)
CIE-LABlab(47.30, -39.29, 47.43)
CIE-LCHlch(47.30, 61.59, 129.64°)
OKLaboklab(53.26% -0.1095 0.1042)
OKLCHoklch(53.26% 0.151 136.4)
XYZxyz(9.6849, 16.2459, 3.1976)
Luminance0.1625 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7F12 #53127F
analogous
#747F12 #3E7F12 #127F1D
triadic
#3E7F12 #123E7F #7F123E
tetradic
#3E7F12 #12747F #53127F #7F1D12
square
#3E7F12 #12747F #53127F #7F1D12
split-complementary
#3E7F12 #1D127F #7F1274
monochromatic
#0D1B04 #24490A #3E7F12 #58B51A #74E12B

Accessibility & contrast

On white

4.94
#3E7F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#3E7F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7F12
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7F12#FFFFFF#000000##FFFFFF
##3E7F121.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847300
Deuteranopia (green-blind)
#7B6E20
Tritanopia (blue-blind)
#3B7A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3e7f12;
/* rgb */ color: rgb(62, 127, 18);
/* oklch */ color: oklch(53.3% 0.151 136.4);
Tailwind
colors: {
  custom: {
    50: '#7ba55c',
    500: '#3e7f12',
    950: '#000000',
  },
}
SCSS
$custom: #3e7f12;
$custom-light: #7ba55c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7f12",
  "rgb": {
    "r": 62,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 95.78,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53263,
    "c": 0.15116,
    "h": 136.4
  },
  "luminance": 0.16247
}

Semantic roles & 50–950 ramp

primary
#3E7F12
secondary
#8238B5
accent
#36F2A6
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3E7F12

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

Preview Lab → · Contrast checker → · Palette generator →

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