#3F8013#3F8013

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

Color values

HEX#3F8013
RGBrgb(63, 128, 19)
HSLhsl(96, 74%, 29%)
HSVhsv(96, 85%, 50%)
CMYKcmyk(50.8%, 0%, 85.2%, 49.8%)
CIE-LABlab(47.68, -39.32, 47.51)
CIE-LCHlch(47.68, 61.67, 129.62°)
OKLaboklab(53.59% -0.1096 0.1045)
OKLCHoklch(53.59% 0.151 136.4)
XYZxyz(9.8863, 16.5414, 3.2878)
Luminance0.1654 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8013 #541380
analogous
#768013 #3F8013 #13801E
triadic
#3F8013 #133F80 #80133F
tetradic
#3F8013 #137680 #541380 #801E13
square
#3F8013 #137680 #541380 #801E13
split-complementary
#3F8013 #1E1380 #801376
monochromatic
#0D1B04 #254B0B #3F8013 #59B51B #76E02D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F8013#FFFFFF#000000##FFFFFF
##3F80131.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)
#7C6F21
Tritanopia (blue-blind)
#3C7B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3f8013;
/* rgb */ color: rgb(63, 128, 19);
/* oklch */ color: oklch(53.6% 0.151 136.4);
Tailwind
colors: {
  custom: {
    50: '#7ba55c',
    500: '#3f8013',
    950: '#000000',
  },
}
SCSS
$custom: #3f8013;
$custom-light: #7ba55c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8013",
  "rgb": {
    "r": 63,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 95.78,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53591,
    "c": 0.15145,
    "h": 136.4
  },
  "luminance": 0.16542
}

Semantic roles & 50–950 ramp

primary
#3F8013
secondary
#8339B5
accent
#37F1A6
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F8013

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

Preview Lab → · Contrast checker → · Palette generator →

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