#3F8618#3F8618

#3F8618 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#3F8618
RGBrgb(63, 134, 24)
HSLhsl(99, 70%, 31%)
HSVhsv(99, 82%, 53%)
CMYKcmyk(53%, 0%, 82.1%, 47.5%)
CIE-LABlab(49.70, -41.48, 47.89)
CIE-LCHlch(49.70, 63.36, 130.90°)
OKLaboklab(55.27% -0.1151 0.1061)
OKLCHoklch(55.27% 0.157 137.3)
XYZxyz(10.7395, 18.1721, 3.8056)
Luminance0.1817 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8618 #5F1886
analogous
#768618 #3F8618 #188628
triadic
#3F8618 #183F86 #86183F
tetradic
#3F8618 #187686 #5F1886 #862818
square
#3F8618 #187686 #5F1886 #862818
split-complementary
#3F8618 #281886 #861876
monochromatic
#0E1E05 #27520F #3F8618 #57BA21 #75DC3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F8618#FFFFFF#000000##000000
##3F86181.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)
#817425
Tritanopia (blue-blind)
#3A8172
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3f8618;
/* rgb */ color: rgb(63, 134, 24);
/* oklch */ color: oklch(55.3% 0.157 137.3);
Tailwind
colors: {
  custom: {
    50: '#7caa5f',
    500: '#3f8618',
    950: '#000000',
  },
}
SCSS
$custom: #3f8618;
$custom-light: #7caa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8618",
  "rgb": {
    "r": 63,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 98.727,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55267,
    "c": 0.15654,
    "h": 137.3
  },
  "luminance": 0.18173
}

Semantic roles & 50–950 ramp

primary
#3F8618
secondary
#8F40BA
accent
#3BECAE
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3F8618

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

Preview Lab → · Contrast checker → · Palette generator →

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