#3F8E17#3F8E17

#3F8E17 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.5% C 0.167 H 137.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#3F8E17
RGBrgb(63, 142, 23)
HSLhsl(100, 72%, 32%)
HSVhsv(100, 84%, 56%)
CMYKcmyk(55.6%, 0%, 83.8%, 44.3%)
CIE-LABlab(52.36, -44.67, 50.63)
CIE-LCHlch(52.36, 67.52, 131.42°)
OKLaboklab(57.45% -0.1237 0.1117)
OKLCHoklch(57.45% 0.167 137.9)
XYZxyz(11.8771, 20.4637, 4.1345)
Luminance0.2046 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8E17 #66178E
analogous
#7A8E17 #3F8E17 #178E2B
triadic
#3F8E17 #173F8E #8E173F
tetradic
#3F8E17 #177A8E #66178E #8E2B17
square
#3F8E17 #177A8E #66178E #8E2B17
split-complementary
#3F8E17 #2B178E #8E177A
monochromatic
#102506 #28590E #3F8E17 #56C320 #75E03F

Accessibility & contrast

On white

4.12
#3F8E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#3F8E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8E17
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8E17#FFFFFF#000000##000000
##3F8E171.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#897A26
Tritanopia (blue-blind)
#388979
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #3f8e17;
/* rgb */ color: rgb(63, 142, 23);
/* oklch */ color: oklch(57.5% 0.167 137.9);
Tailwind
colors: {
  custom: {
    50: '#7db060',
    500: '#3f8e17',
    950: '#000000',
  },
}
SCSS
$custom: #3f8e17;
$custom-light: #7db060;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8e17",
  "rgb": {
    "r": 63,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 99.832,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57453,
    "c": 0.16667,
    "h": 137.9
  },
  "luminance": 0.20465
}

Semantic roles & 50–950 ramp

primary
#3F8E17
secondary
#9540C0
accent
#39EFB2
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #3F8E17

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

Preview Lab → · Contrast checker → · Palette generator →

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