#3F8517#3F8517

#3F8517 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.0% C 0.156 H 137.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#3F8517
RGBrgb(63, 133, 23)
HSLhsl(98, 71%, 31%)
HSVhsv(98, 83%, 52%)
CMYKcmyk(52.6%, 0%, 82.7%, 47.8%)
CIE-LABlab(49.37, -41.14, 47.88)
CIE-LCHlch(49.37, 63.13, 130.67°)
OKLaboklab(54.99% -0.1143 0.1059)
OKLCHoklch(54.99% 0.156 137.2)
XYZxyz(10.5917, 17.8929, 3.7060)
Luminance0.1789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8517 #5D1785
analogous
#768517 #3F8517 #178526
triadic
#3F8517 #173F85 #85173F
tetradic
#3F8517 #177685 #5D1785 #852617
square
#3F8517 #177685 #5D1785 #852617
split-complementary
#3F8517 #261785 #851776
monochromatic
#0E1D05 #26510E #3F8517 #58B920 #75DD3A

Accessibility & contrast

On white

4.59
#3F8517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#3F8517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3F8517
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8517#FFFFFF#000000##FFFFFF
##3F85171.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#817324
Tritanopia (blue-blind)
#3A8071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3f8517;
/* rgb */ color: rgb(63, 133, 23);
/* oklch */ color: oklch(55.0% 0.156 137.2);
Tailwind
colors: {
  custom: {
    50: '#7ca95f',
    500: '#3f8517',
    950: '#000000',
  },
}
SCSS
$custom: #3f8517;
$custom-light: #7ca95f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8517",
  "rgb": {
    "r": 63,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 98.182,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54987,
    "c": 0.15579,
    "h": 137.2
  },
  "luminance": 0.17894
}

Semantic roles & 50–950 ramp

primary
#3F8517
secondary
#8D3FB9
accent
#3BEDAC
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3F8517

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

Preview Lab → · Contrast checker → · Palette generator →

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