#3F8817#3F8817

#3F8817 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 55.8% C 0.159 H 137.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#3F8817
RGBrgb(63, 136, 23)
HSLhsl(99, 71%, 31%)
HSVhsv(99, 83%, 53%)
CMYKcmyk(53.7%, 0%, 83.1%, 46.7%)
CIE-LABlab(50.37, -42.33, 48.81)
CIE-LCHlch(50.37, 64.61, 130.94°)
OKLaboklab(55.81% -0.1175 0.1078)
OKLCHoklch(55.81% 0.159 137.4)
XYZxyz(11.0084, 18.7261, 3.8449)
Luminance0.1873 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8817 #601788
analogous
#778817 #3F8817 #178827
triadic
#3F8817 #173F88 #88173F
tetradic
#3F8817 #177788 #601788 #882717
square
#3F8817 #177788 #601788 #882717
split-complementary
#3F8817 #271788 #881777
monochromatic
#0F1F05 #27540E #3F8817 #57BC20 #75DE3B

Accessibility & contrast

On white

4.43
#3F8817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#3F8817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8817
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8817#FFFFFF#000000##000000
##3F88171.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#837625
Tritanopia (blue-blind)
#3A8374
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3f8817;
/* rgb */ color: rgb(63, 136, 23);
/* oklch */ color: oklch(55.8% 0.159 137.4);
Tailwind
colors: {
  custom: {
    50: '#7cab5f',
    500: '#3f8817',
    950: '#000000',
  },
}
SCSS
$custom: #3f8817;
$custom-light: #7cab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8817",
  "rgb": {
    "r": 63,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 98.761,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5581,
    "c": 0.15945,
    "h": 137.4
  },
  "luminance": 0.18727
}

Semantic roles & 50–950 ramp

primary
#3F8817
secondary
#903FBC
accent
#3AEEAE
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3F8817

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

Preview Lab → · Contrast checker → · Palette generator →

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