#3F8D15#3F8D15

#3F8D15 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.2% C 0.166 H 137.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#3F8D15
RGBrgb(63, 141, 21)
HSLhsl(99, 74%, 32%)
HSVhsv(99, 85%, 55%)
CMYKcmyk(55.3%, 0%, 85.1%, 44.7%)
CIE-LABlab(52.02, -44.38, 50.88)
CIE-LCHlch(52.02, 67.52, 131.10°)
OKLaboklab(57.17% -0.1231 0.1119)
OKLCHoklch(57.17% 0.166 137.7)
XYZxyz(11.7097, 20.1597, 3.9835)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8D15 #63158D
analogous
#7B8D15 #3F8D15 #158D27
triadic
#3F8D15 #153F8D #8D153F
tetradic
#3F8D15 #157B8D #63158D #8D2715
square
#3F8D15 #157B8D #63158D #8D2715
split-complementary
#3F8D15 #27158D #8D157B
monochromatic
#0F2205 #27580D #3F8D15 #57C21D #75E23B

Accessibility & contrast

On white

4.17
#3F8D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#3F8D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8D15
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8D15#FFFFFF#000000##000000
##3F8D151.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#398878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3f8d15;
/* rgb */ color: rgb(63, 141, 21);
/* oklch */ color: oklch(57.2% 0.166 137.7);
Tailwind
colors: {
  custom: {
    50: '#7daf5f',
    500: '#3f8d15',
    950: '#000000',
  },
}
SCSS
$custom: #3f8d15;
$custom-light: #7daf5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8d15",
  "rgb": {
    "r": 63,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 99,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5717,
    "c": 0.16632,
    "h": 137.7
  },
  "luminance": 0.20161
}

Semantic roles & 50–950 ramp

primary
#3F8D15
secondary
#933DC1
accent
#37F1B0
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #3F8D15

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

Preview Lab → · Contrast checker → · Palette generator →

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