#3F781D#3F781D

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

Color values

HEX#3F781D
RGBrgb(63, 120, 29)
HSLhsl(98, 61%, 29%)
HSVhsv(98, 76%, 47%)
CMYKcmyk(47.5%, 0%, 75.8%, 52.9%)
CIE-LABlab(45.05, -35.35, 41.65)
CIE-LCHlch(45.05, 54.63, 130.32°)
OKLaboklab(51.45% -0.0983 0.0938)
OKLCHoklch(51.45% 0.136 136.3)
XYZxyz(8.9879, 14.5778, 3.5024)
Luminance0.1458 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F781D #561D78
analogous
#6D781D #3F781D #1D7828
triadic
#3F781D #1D3F78 #781D3F
tetradic
#3F781D #1D6D78 #561D78 #78281D
square
#3F781D #1D6D78 #561D78 #78281D
split-complementary
#3F781D #281D78 #781D6D
monochromatic
#0D1906 #254711 #3F781D #59A929 #75D13F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F781D#FFFFFF#000000##FFFFFF
##3F781D1.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)
#7C6E0C
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#3C7366
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3f781d;
/* rgb */ color: rgb(63, 120, 29);
/* oklch */ color: oklch(51.4% 0.136 136.3);
Tailwind
colors: {
  custom: {
    50: '#7a9f60',
    500: '#3f781d',
    950: '#000000',
  },
}
SCSS
$custom: #3f781d;
$custom-light: #7a9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#3f781d",
  "rgb": {
    "r": 63,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 97.582,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51449,
    "c": 0.13587,
    "h": 136.3
  },
  "luminance": 0.14578
}

Semantic roles & 50–950 ramp

primary
#3F781D
secondary
#8545AC
accent
#44E4A8
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #3F781D

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

Preview Lab → · Contrast checker → · Palette generator →

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