#3F8C13#3F8C13

#3F8C13 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 56.9% C 0.166 H 137.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#3F8C13
RGBrgb(63, 140, 19)
HSLhsl(98, 76%, 31%)
HSVhsv(98, 86%, 55%)
CMYKcmyk(55%, 0%, 86.4%, 45.1%)
CIE-LABlab(51.68, -44.09, 51.09)
CIE-LCHlch(51.68, 67.49, 130.79°)
OKLaboklab(56.89% -0.1224 0.1121)
OKLCHoklch(56.89% 0.166 137.5)
XYZxyz(11.5451, 19.8590, 3.8408)
Luminance0.1986 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8C13 #60138C
analogous
#7B8C13 #3F8C13 #138C23
triadic
#3F8C13 #133F8C #8C133F
tetradic
#3F8C13 #137B8C #60138C #8C2313
square
#3F8C13 #137B8C #60138C #8C2313
split-complementary
#3F8C13 #23138C #8C137B
monochromatic
#0F2004 #27560C #3F8C13 #57C21A #75E436

Accessibility & contrast

On white

4.22
#3F8C13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#3F8C13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8C13
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8C13#FFFFFF#000000##000000
##3F8C131.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#877923
Tritanopia (blue-blind)
#398777
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3f8c13;
/* rgb */ color: rgb(63, 140, 19);
/* oklch */ color: oklch(56.9% 0.166 137.5);
Tailwind
colors: {
  custom: {
    50: '#7dae5e',
    500: '#3f8c13',
    950: '#000000',
  },
}
SCSS
$custom: #3f8c13;
$custom-light: #7dae5e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8c13",
  "rgb": {
    "r": 63,
    "g": 140,
    "b": 19
  },
  "hsl": {
    "h": 98.182,
    "s": 76.101,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56887,
    "c": 0.16592,
    "h": 137.5
  },
  "luminance": 0.1986
}

Semantic roles & 50–950 ramp

primary
#3F8C13
secondary
#903BC0
accent
#35F3AE
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #3F8C13

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

Preview Lab → · Contrast checker → · Palette generator →

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