#3E5A12#3E5A12

#3E5A12 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 43.0% C 0.102 H 128.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#3E5A12
RGBrgb(62, 90, 18)
HSLhsl(83, 67%, 21%)
HSVhsv(83, 80%, 35%)
CMYKcmyk(31.1%, 0%, 80%, 64.7%)
CIE-LABlab(34.76, -22.50, 35.77)
CIE-LCHlch(34.76, 42.26, 122.17°)
OKLaboklab(43% -0.0643 0.0797)
OKLCHoklch(43% 0.102 128.9)
XYZxyz(5.7519, 8.3800, 1.8866)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5A12 #2E125A
analogous
#5A5212 #3E5A12 #1A5A12
triadic
#3E5A12 #123E5A #5A123E
tetradic
#3E5A12 #125A52 #2E125A #5A121A
square
#3E5A12 #125A52 #2E125A #5A121A
split-complementary
#3E5A12 #121A5A #52125A
monochromatic
#121A05 #1B2708 #3E5A12 #618D1C #84C026

Accessibility & contrast

On white

7.85
#3E5A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3E5A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E5A12
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5A12#FFFFFF#000000##FFFFFF
##3E5A121.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5304
Deuteranopia (green-blind)
#5B5119
Tritanopia (blue-blind)
#40564C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3e5a12;
/* rgb */ color: rgb(62, 90, 18);
/* oklch */ color: oklch(43.0% 0.102 128.9);
Tailwind
colors: {
  custom: {
    50: '#768956',
    500: '#3e5a12',
    950: '#000000',
  },
}
SCSS
$custom: #3e5a12;
$custom-light: #768956;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5a12",
  "rgb": {
    "r": 62,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 83.333,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43,
    "c": 0.10239,
    "h": 128.9
  },
  "luminance": 0.0838
}

Semantic roles & 50–950 ramp

primary
#3E5A12
secondary
#5A3593
accent
#3EEA81
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3E5A12

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

Preview Lab → · Contrast checker → · Palette generator →

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