#3F8717#3F8717

#3F8717 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 55.5% C 0.158 H 137.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#3F8717
RGBrgb(63, 135, 23)
HSLhsl(99, 71%, 31%)
HSVhsv(99, 83%, 53%)
CMYKcmyk(53.3%, 0%, 83%, 47.1%)
CIE-LABlab(50.03, -41.94, 48.50)
CIE-LCHlch(50.03, 64.12, 130.85°)
OKLaboklab(55.54% -0.1164 0.1072)
OKLCHoklch(55.54% 0.158 137.4)
XYZxyz(10.8682, 18.4458, 3.7981)
Luminance0.1845 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8717 #5F1787
analogous
#778717 #3F8717 #178727
triadic
#3F8717 #173F87 #87173F
tetradic
#3F8717 #177787 #5F1787 #872717
square
#3F8717 #177787 #5F1787 #872717
split-complementary
#3F8717 #271787 #871777
monochromatic
#0E1E05 #27530E #3F8717 #57BB20 #75DE3B

Accessibility & contrast

On white

4.48
#3F8717 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#3F8717 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8717
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8717#FFFFFF#000000##000000
##3F87171.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#827525
Tritanopia (blue-blind)
#3A8273
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3f8717;
/* rgb */ color: rgb(63, 135, 23);
/* oklch */ color: oklch(55.5% 0.158 137.4);
Tailwind
colors: {
  custom: {
    50: '#7cab5f',
    500: '#3f8717',
    950: '#000000',
  },
}
SCSS
$custom: #3f8717;
$custom-light: #7cab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8717",
  "rgb": {
    "r": 63,
    "g": 135,
    "b": 23
  },
  "hsl": {
    "h": 98.571,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55536,
    "c": 0.15824,
    "h": 137.4
  },
  "luminance": 0.18447
}

Semantic roles & 50–950 ramp

primary
#3F8717
secondary
#8F3FBB
accent
#3AEEAE
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3F8717

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

Preview Lab → · Contrast checker → · Palette generator →

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