#3F8617#3F8617

#3F8617 is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.3% C 0.157 H 137.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#3F8617
RGBrgb(63, 134, 23)
HSLhsl(98, 71%, 31%)
HSVhsv(98, 83%, 53%)
CMYKcmyk(53%, 0%, 82.8%, 47.5%)
CIE-LABlab(49.70, -41.54, 48.19)
CIE-LCHlch(49.70, 63.62, 130.76°)
OKLaboklab(55.26% -0.1153 0.1065)
OKLCHoklch(55.26% 0.157 137.3)
XYZxyz(10.7293, 18.1680, 3.7518)
Luminance0.1817 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8617 #5E1786
analogous
#768617 #3F8617 #178626
triadic
#3F8617 #173F86 #86173F
tetradic
#3F8617 #177686 #5E1786 #862617
square
#3F8617 #177686 #5E1786 #862617
split-complementary
#3F8617 #261786 #861776
monochromatic
#0E1E05 #26520E #3F8617 #58BA20 #75DD3A

Accessibility & contrast

On white

4.53
#3F8617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#3F8617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8617
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8617#FFFFFF#000000##000000
##3F86171.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#827424
Tritanopia (blue-blind)
#3A8172
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3f8617;
/* rgb */ color: rgb(63, 134, 23);
/* oklch */ color: oklch(55.3% 0.157 137.3);
Tailwind
colors: {
  custom: {
    50: '#7caa5f',
    500: '#3f8617',
    950: '#000000',
  },
}
SCSS
$custom: #3f8617;
$custom-light: #7caa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8617",
  "rgb": {
    "r": 63,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 98.378,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55262,
    "c": 0.15701,
    "h": 137.3
  },
  "luminance": 0.18169
}

Semantic roles & 50–950 ramp

primary
#3F8617
secondary
#8E3FBA
accent
#3AEDAD
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3F8617

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

Preview Lab → · Contrast checker → · Palette generator →

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