#3F8A14#3F8A14

#3F8A14 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.3% C 0.163 H 137.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#3F8A14
RGBrgb(63, 138, 20)
HSLhsl(98, 75%, 31%)
HSVhsv(98, 86%, 54%)
CMYKcmyk(54.3%, 0%, 85.5%, 45.9%)
CIE-LABlab(51.02, -43.27, 50.24)
CIE-LCHlch(51.02, 66.31, 130.73°)
OKLaboklab(56.34% -0.1201 0.1104)
OKLCHoklch(56.34% 0.163 137.4)
XYZxyz(11.2643, 19.2834, 3.7902)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8A14 #5F148A
analogous
#7A8A14 #3F8A14 #148A24
triadic
#3F8A14 #143F8A #8A143F
tetradic
#3F8A14 #147A8A #5F148A #8A2414
square
#3F8A14 #147A8A #5F148A #8A2414
split-complementary
#3F8A14 #24148A #8A147A
monochromatic
#0E1F05 #27550C #3F8A14 #57BF1C #75E236

Accessibility & contrast

On white

4.32
#3F8A14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#3F8A14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8A14
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8A14#FFFFFF#000000##000000
##3F8A141.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#857723
Tritanopia (blue-blind)
#3A8575
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3f8a14;
/* rgb */ color: rgb(63, 138, 20);
/* oklch */ color: oklch(56.3% 0.163 137.4);
Tailwind
colors: {
  custom: {
    50: '#7dad5e',
    500: '#3f8a14',
    950: '#000000',
  },
}
SCSS
$custom: #3f8a14;
$custom-light: #7dad5e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8a14",
  "rgb": {
    "r": 63,
    "g": 138,
    "b": 20
  },
  "hsl": {
    "h": 98.136,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56344,
    "c": 0.16316,
    "h": 137.4
  },
  "luminance": 0.19284
}

Semantic roles & 50–950 ramp

primary
#3F8A14
secondary
#8F3CBE
accent
#36F1AD
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3F8A14

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

Preview Lab → · Contrast checker → · Palette generator →

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