#3E851A#3E851A

#3E851A is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.0% C 0.155 H 137.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#3E851A
RGBrgb(62, 133, 26)
HSLhsl(100, 67%, 31%)
HSVhsv(100, 80%, 52%)
CMYKcmyk(53.4%, 0%, 80.5%, 47.8%)
CIE-LABlab(49.34, -41.27, 46.90)
CIE-LCHlch(49.34, 62.47, 131.35°)
OKLaboklab(54.96% -0.1144 0.1043)
OKLCHoklch(54.96% 0.155 137.6)
XYZxyz(10.5602, 17.8730, 3.8704)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E851A #611A85
analogous
#73851A #3E851A #1A852B
triadic
#3E851A #1A3E85 #851A3E
tetradic
#3E851A #1A7385 #611A85 #852B1A
square
#3E851A #1A7385 #611A85 #852B1A
split-complementary
#3E851A #2B1A85 #851A73
monochromatic
#0E1F06 #265210 #3E851A #56B824 #74DA40

Accessibility & contrast

On white

4.59
#3E851A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#3E851A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3E851A
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E851A#FFFFFF#000000##FFFFFF
##3E851A1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#398071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3e851a;
/* rgb */ color: rgb(62, 133, 26);
/* oklch */ color: oklch(55.0% 0.155 137.6);
Tailwind
colors: {
  custom: {
    50: '#7ba960',
    500: '#3e851a',
    950: '#000000',
  },
}
SCSS
$custom: #3e851a;
$custom-light: #7ba960;
$custom-dark: #000000;
JSON
{
  "hex": "#3e851a",
  "rgb": {
    "r": 62,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 99.813,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54961,
    "c": 0.1548,
    "h": 137.6
  },
  "luminance": 0.17874
}

Semantic roles & 50–950 ramp

primary
#3E851A
secondary
#9142B8
accent
#3EEAB0
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3E851A

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

Preview Lab → · Contrast checker → · Palette generator →

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