#3F8014#3F8014

#3F8014 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#3F8014
RGBrgb(63, 128, 20)
HSLhsl(96, 73%, 29%)
HSVhsv(96, 84%, 50%)
CMYKcmyk(50.8%, 0%, 84.4%, 49.8%)
CIE-LABlab(47.68, -39.27, 47.23)
CIE-LCHlch(47.68, 61.42, 129.75°)
OKLaboklab(53.6% -0.1094 0.1041)
OKLCHoklch(53.6% 0.151 136.4)
XYZxyz(9.8951, 16.5449, 3.3338)
Luminance0.1655 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8014 #551480
analogous
#758014 #3F8014 #14801F
triadic
#3F8014 #143F80 #80143F
tetradic
#3F8014 #147580 #551480 #801F14
square
#3F8014 #147580 #551480 #801F14
split-complementary
#3F8014 #1F1480 #801475
monochromatic
#0D1A04 #254B0C #3F8014 #59B51C #75DF30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F8014#FFFFFF#000000##FFFFFF
##3F80141.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: #3f8014;
/* rgb */ color: rgb(63, 128, 20);
/* oklch */ color: oklch(53.6% 0.151 136.4);
Tailwind
colors: {
  custom: {
    50: '#7ba55d',
    500: '#3f8014',
    950: '#000000',
  },
}
SCSS
$custom: #3f8014;
$custom-light: #7ba55d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8014",
  "rgb": {
    "r": 63,
    "g": 128,
    "b": 20
  },
  "hsl": {
    "h": 96.111,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53596,
    "c": 0.15101,
    "h": 136.4
  },
  "luminance": 0.16546
}

Semantic roles & 50–950 ramp

primary
#3F8014
secondary
#843BB5
accent
#38F0A7
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F8014

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

Preview Lab → · Contrast checker → · Palette generator →

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