#3F7A14#3F7A14

#3F7A14 is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 51.9% C 0.144 H 135.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#3F7A14
RGBrgb(63, 122, 20)
HSLhsl(95, 72%, 28%)
HSVhsv(95, 84%, 48%)
CMYKcmyk(48.4%, 0%, 83.6%, 52.2%)
CIE-LABlab(45.67, -36.78, 45.38)
CIE-LCHlch(45.67, 58.42, 129.02°)
OKLaboklab(51.94% -0.1027 0.1002)
OKLCHoklch(51.94% 0.144 135.7)
XYZxyz(9.1355, 15.0258, 3.0806)
Luminance0.1503 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7A14 #4F147A
analogous
#727A14 #3F7A14 #147A1C
triadic
#3F7A14 #143F7A #7A143F
tetradic
#3F7A14 #14727A #4F147A #7A1C14
square
#3F7A14 #14727A #4F147A #7A1C14
split-complementary
#3F7A14 #1C147A #7A1472
monochromatic
#0E1A04 #24450B #3F7A14 #5AAF1D #76DC2C

Accessibility & contrast

On white

5.24
#3F7A14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#3F7A14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7A14
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7A14#FFFFFF#000000##FFFFFF
##3F7A141.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#776A20
Tritanopia (blue-blind)
#3D7567
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3f7a14;
/* rgb */ color: rgb(63, 122, 20);
/* oklch */ color: oklch(51.9% 0.144 135.7);
Tailwind
colors: {
  custom: {
    50: '#7aa15c',
    500: '#3f7a14',
    950: '#000000',
  },
}
SCSS
$custom: #3f7a14;
$custom-light: #7aa15c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7a14",
  "rgb": {
    "r": 63,
    "g": 122,
    "b": 20
  },
  "hsl": {
    "h": 94.706,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51941,
    "c": 0.14351,
    "h": 135.7
  },
  "luminance": 0.15026
}

Semantic roles & 50–950 ramp

primary
#3F7A14
secondary
#7E3AB0
accent
#39EFA2
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F04
muted
#7C7E79

Preview Lab

Preview with #3F7A14

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

Preview Lab → · Contrast checker → · Palette generator →

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