#3F8015#3F8015

#3F8015 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.6% C 0.151 H 136.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#3F8015
RGBrgb(63, 128, 21)
HSLhsl(96, 72%, 29%)
HSVhsv(96, 84%, 50%)
CMYKcmyk(50.8%, 0%, 83.6%, 49.8%)
CIE-LABlab(47.69, -39.22, 46.94)
CIE-LCHlch(47.69, 61.17, 129.88°)
OKLaboklab(53.6% -0.1092 0.1036)
OKLCHoklch(53.6% 0.151 136.5)
XYZxyz(9.9041, 16.5486, 3.3816)
Luminance0.1655 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8015 #561580
analogous
#758015 #3F8015 #158021
triadic
#3F8015 #153F80 #80153F
tetradic
#3F8015 #157580 #561580 #802115
square
#3F8015 #157580 #561580 #802115
split-complementary
#3F8015 #211580 #801575
monochromatic
#0D1A04 #254B0C #3F8015 #59B51E #75DD32

Accessibility & contrast

On white

4.87
#3F8015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#3F8015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F8015
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8015#FFFFFF#000000##FFFFFF
##3F80151.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#7C6F22
Tritanopia (blue-blind)
#3C7B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3f8015;
/* rgb */ color: rgb(63, 128, 21);
/* oklch */ color: oklch(53.6% 0.151 136.5);
Tailwind
colors: {
  custom: {
    50: '#7ba55d',
    500: '#3f8015',
    950: '#000000',
  },
}
SCSS
$custom: #3f8015;
$custom-light: #7ba55d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8015",
  "rgb": {
    "r": 63,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 96.449,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53601,
    "c": 0.15055,
    "h": 136.5
  },
  "luminance": 0.16549
}

Semantic roles & 50–950 ramp

primary
#3F8015
secondary
#853CB5
accent
#39EFA7
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F8015

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

Preview Lab → · Contrast checker → · Palette generator →

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