#3F781F#3F781F

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

Color values

HEX#3F781F
RGBrgb(63, 120, 31)
HSLhsl(98, 59%, 30%)
HSVhsv(98, 74%, 47%)
CMYKcmyk(47.5%, 0%, 74.2%, 52.9%)
CIE-LABlab(45.06, -35.20, 40.87)
CIE-LCHlch(45.06, 53.94, 130.73°)
OKLaboklab(51.47% -0.0977 0.0925)
OKLCHoklch(51.47% 0.135 136.6)
XYZxyz(9.0134, 14.5881, 3.6369)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F781F #581F78
analogous
#6C781F #3F781F #1F782C
triadic
#3F781F #1F3F78 #781F3F
tetradic
#3F781F #1F6C78 #581F78 #782C1F
square
#3F781F #1F6C78 #581F78 #782C1F
split-complementary
#3F781F #2C1F78 #781F6C
monochromatic
#0D1806 #254712 #3F781F #59A92C #75CE43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F781F#FFFFFF#000000##FFFFFF
##3F781F1.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)
#7C6E10
Deuteranopia (green-blind)
#756928
Tritanopia (blue-blind)
#3C7367
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3f781f;
/* rgb */ color: rgb(63, 120, 31);
/* oklch */ color: oklch(51.5% 0.135 136.6);
Tailwind
colors: {
  custom: {
    50: '#7a9f61',
    500: '#3f781f',
    950: '#000000',
  },
}
SCSS
$custom: #3f781f;
$custom-light: #7a9f61;
$custom-dark: #000000;
JSON
{
  "hex": "#3f781f",
  "rgb": {
    "r": 63,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 98.427,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51466,
    "c": 0.13454,
    "h": 136.6
  },
  "luminance": 0.14589
}

Semantic roles & 50–950 ramp

primary
#3F781F
secondary
#8747AB
accent
#46E2AA
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #3F781F

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

Preview Lab → · Contrast checker → · Palette generator →

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