#3F781E#3F781E

#3F781E is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.5% C 0.135 H 136.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#3F781E
RGBrgb(63, 120, 30)
HSLhsl(98, 60%, 29%)
HSVhsv(98, 75%, 47%)
CMYKcmyk(47.5%, 0%, 75%, 52.9%)
CIE-LABlab(45.06, -35.28, 41.27)
CIE-LCHlch(45.06, 54.29, 130.53°)
OKLaboklab(51.46% -0.098 0.0931)
OKLCHoklch(51.46% 0.135 136.5)
XYZxyz(9.0005, 14.5829, 3.5686)
Luminance0.1458 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F781E #571E78
analogous
#6C781E #3F781E #1E782A
triadic
#3F781E #1E3F78 #781E3F
tetradic
#3F781E #1E6C78 #571E78 #782A1E
square
#3F781E #1E6C78 #571E78 #782A1E
split-complementary
#3F781E #2A1E78 #781E6C
monochromatic
#0D1806 #254712 #3F781E #59A92A #75CF41

Accessibility & contrast

On white

5.36
#3F781E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#3F781E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F781E
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F781E#FFFFFF#000000##FFFFFF
##3F781E1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E0E
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#3C7366
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3f781e;
/* rgb */ color: rgb(63, 120, 30);
/* oklch */ color: oklch(51.5% 0.135 136.5);
Tailwind
colors: {
  custom: {
    50: '#7a9f60',
    500: '#3f781e',
    950: '#000000',
  },
}
SCSS
$custom: #3f781e;
$custom-light: #7a9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#3f781e",
  "rgb": {
    "r": 63,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 98,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51457,
    "c": 0.13521,
    "h": 136.5
  },
  "luminance": 0.14583
}

Semantic roles & 50–950 ramp

primary
#3F781E
secondary
#8646AC
accent
#45E3A9
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #3F781E

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

Preview Lab → · Contrast checker → · Palette generator →

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