#3E6912#3E6912

#3E6912 is a mid, vivid yellow-green. Relative luminance 0.112; OKLCH L 47.2% C 0.123 H 133.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#3E6912
RGBrgb(62, 105, 18)
HSLhsl(90, 71%, 24%)
HSVhsv(90, 83%, 41%)
CMYKcmyk(41%, 0%, 82.9%, 58.8%)
CIE-LABlab(39.87, -29.76, 40.62)
CIE-LCHlch(39.87, 50.36, 126.23°)
OKLaboklab(47.17% -0.0839 0.0899)
OKLCHoklch(47.17% 0.123 133)
XYZxyz(7.1473, 11.1706, 2.3517)
Luminance0.1117 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E6912 #3D1269
analogous
#696912 #3E6912 #136912
triadic
#3E6912 #123E69 #69123E
tetradic
#3E6912 #126969 #3D1269 #691213
square
#3E6912 #126969 #3D1269 #691213
split-complementary
#3E6912 #121369 #691269
monochromatic
#0F1A04 #1F3509 #3E6912 #5D9D1B #7CD124

Accessibility & contrast

On white

6.49
#3E6912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#3E6912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E6912
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E6912#FFFFFF#000000##FFFFFF
##3E69121.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#685D1C
Tritanopia (blue-blind)
#3E6459
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3e6912;
/* rgb */ color: rgb(62, 105, 18);
/* oklch */ color: oklch(47.2% 0.123 133.0);
Tailwind
colors: {
  custom: {
    50: '#789458',
    500: '#3e6912',
    950: '#000000',
  },
}
SCSS
$custom: #3e6912;
$custom-light: #789458;
$custom-dark: #000000;
JSON
{
  "hex": "#3e6912",
  "rgb": {
    "r": 62,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 89.655,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.47165,
    "c": 0.12299,
    "h": 133
  },
  "luminance": 0.11171
}

Semantic roles & 50–950 ramp

primary
#3E6912
secondary
#6B36A1
accent
#3AED93
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3E6912

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

Preview Lab → · Contrast checker → · Palette generator →

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