#3F8417#3F8417

#3F8417 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 54.7% C 0.155 H 137.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#3F8417
RGBrgb(63, 132, 23)
HSLhsl(98, 70%, 30%)
HSVhsv(98, 83%, 52%)
CMYKcmyk(52.3%, 0%, 82.6%, 48.2%)
CIE-LABlab(49.03, -40.74, 47.58)
CIE-LCHlch(49.03, 62.63, 130.57°)
OKLaboklab(54.71% -0.1132 0.1053)
OKLCHoklch(54.71% 0.155 137.1)
XYZxyz(10.4555, 17.6204, 3.6606)
Luminance0.1762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8417 #5C1784
analogous
#758417 #3F8417 #178426
triadic
#3F8417 #173F84 #84173F
tetradic
#3F8417 #177584 #5C1784 #842617
square
#3F8417 #177584 #5C1784 #842617
split-complementary
#3F8417 #261784 #841775
monochromatic
#0D1C05 #26500E #3F8417 #58B820 #75DC39

Accessibility & contrast

On white

4.64
#3F8417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#3F8417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3F8417
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8417#FFFFFF#000000##FFFFFF
##3F84171.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#807224
Tritanopia (blue-blind)
#3B7F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3f8417;
/* rgb */ color: rgb(63, 132, 23);
/* oklch */ color: oklch(54.7% 0.155 137.1);
Tailwind
colors: {
  custom: {
    50: '#7ca85f',
    500: '#3f8417',
    950: '#000000',
  },
}
SCSS
$custom: #3f8417;
$custom-light: #7ca85f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8417",
  "rgb": {
    "r": 63,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 97.982,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54712,
    "c": 0.15456,
    "h": 137.1
  },
  "luminance": 0.17621
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F8417

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

Preview Lab → · Contrast checker → · Palette generator →

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