#3F8A17#3F8A17

#3F8A17 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.4% C 0.162 H 137.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#3F8A17
RGBrgb(63, 138, 23)
HSLhsl(99, 71%, 32%)
HSVhsv(99, 83%, 54%)
CMYKcmyk(54.3%, 0%, 83.3%, 45.9%)
CIE-LABlab(51.03, -43.12, 49.42)
CIE-LCHlch(51.03, 65.59, 131.10°)
OKLaboklab(56.36% -0.1196 0.1091)
OKLCHoklch(56.36% 0.162 137.6)
XYZxyz(11.2927, 19.2947, 3.9396)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8A17 #62178A
analogous
#798A17 #3F8A17 #178A28
triadic
#3F8A17 #173F8A #8A173F
tetradic
#3F8A17 #17798A #62178A #8A2817
square
#3F8A17 #17798A #62178A #8A2817
split-complementary
#3F8A17 #28178A #8A1779
monochromatic
#0F2106 #27560E #3F8A17 #57BE20 #75DF3D

Accessibility & contrast

On white

4.32
#3F8A17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#3F8A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8A17
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8A17#FFFFFF#000000##000000
##3F8A171.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#857725
Tritanopia (blue-blind)
#398575
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3f8a17;
/* rgb */ color: rgb(63, 138, 23);
/* oklch */ color: oklch(56.4% 0.162 137.6);
Tailwind
colors: {
  custom: {
    50: '#7dad5f',
    500: '#3f8a17',
    950: '#000000',
  },
}
SCSS
$custom: #3f8a17;
$custom-light: #7dad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8a17",
  "rgb": {
    "r": 63,
    "g": 138,
    "b": 23
  },
  "hsl": {
    "h": 99.13,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56359,
    "c": 0.16188,
    "h": 137.6
  },
  "luminance": 0.19296
}

Semantic roles & 50–950 ramp

primary
#3F8A17
secondary
#923FBE
accent
#3AEEAF
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3F8A17

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

Preview Lab → · Contrast checker → · Palette generator →

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