#3E7D12#3E7D12

#3E7D12 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.7% C 0.149 H 136.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#3E7D12
RGBrgb(62, 125, 18)
HSLhsl(95, 75%, 28%)
HSVhsv(95, 86%, 49%)
CMYKcmyk(50.4%, 0%, 85.6%, 51%)
CIE-LABlab(46.62, -38.47, 46.82)
CIE-LCHlch(46.62, 60.60, 129.41°)
OKLaboklab(52.71% -0.1073 0.1029)
OKLCHoklch(52.71% 0.149 136.2)
XYZxyz(9.4291, 15.7344, 3.1123)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7D12 #51127D
analogous
#737D12 #3E7D12 #127D1B
triadic
#3E7D12 #123E7D #7D123E
tetradic
#3E7D12 #12737D #51127D #7D1B12
square
#3E7D12 #12737D #51127D #7D1B12
split-complementary
#3E7D12 #1B127D #7D1273
monochromatic
#0D1B04 #23480A #3E7D12 #59B21A #74E029

Accessibility & contrast

On white

5.06
#3E7D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#3E7D12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7D12
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7D12#FFFFFF#000000##FFFFFF
##3E7D121.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#796D20
Tritanopia (blue-blind)
#3B786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3e7d12;
/* rgb */ color: rgb(62, 125, 18);
/* oklch */ color: oklch(52.7% 0.149 136.2);
Tailwind
colors: {
  custom: {
    50: '#7aa35b',
    500: '#3e7d12',
    950: '#000000',
  },
}
SCSS
$custom: #3e7d12;
$custom-light: #7aa35b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7d12",
  "rgb": {
    "r": 62,
    "g": 125,
    "b": 18
  },
  "hsl": {
    "h": 95.327,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52711,
    "c": 0.14869,
    "h": 136.2
  },
  "luminance": 0.15735
}

Semantic roles & 50–950 ramp

primary
#3E7D12
secondary
#8038B3
accent
#36F1A5
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3E7D12

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

Preview Lab → · Contrast checker → · Palette generator →

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