#3F8017#3F8017

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

Color values

HEX#3F8017
RGBrgb(63, 128, 23)
HSLhsl(97, 70%, 30%)
HSVhsv(97, 82%, 50%)
CMYKcmyk(50.8%, 0%, 82%, 49.8%)
CIE-LABlab(47.70, -39.11, 46.33)
CIE-LCHlch(47.70, 60.63, 130.17°)
OKLaboklab(53.61% -0.1088 0.1026)
OKLCHoklch(53.61% 0.15 136.7)
XYZxyz(9.9234, 16.5563, 3.4832)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8017 #581780
analogous
#748017 #3F8017 #178024
triadic
#3F8017 #173F80 #80173F
tetradic
#3F8017 #177480 #581780 #802417
square
#3F8017 #177480 #581780 #802417
split-complementary
#3F8017 #241780 #801774
monochromatic
#0D1A05 #254C0E #3F8017 #59B420 #75DB36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F8017#FFFFFF#000000##FFFFFF
##3F80171.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)
#857500
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#3B7B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3f8017;
/* rgb */ color: rgb(63, 128, 23);
/* oklch */ color: oklch(53.6% 0.150 136.7);
Tailwind
colors: {
  custom: {
    50: '#7ba55e',
    500: '#3f8017',
    950: '#000000',
  },
}
SCSS
$custom: #3f8017;
$custom-light: #7ba55e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8017",
  "rgb": {
    "r": 63,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 97.143,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53612,
    "c": 0.14959,
    "h": 136.7
  },
  "luminance": 0.16557
}

Semantic roles & 50–950 ramp

primary
#3F8017
secondary
#873EB4
accent
#3BECA9
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F8017

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

Preview Lab → · Contrast checker → · Palette generator →

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