#3F8516#3F8516

#3F8516 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.0% C 0.156 H 137.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#3F8516
RGBrgb(63, 133, 22)
HSLhsl(98, 72%, 30%)
HSVhsv(98, 83%, 52%)
CMYKcmyk(52.6%, 0%, 83.5%, 47.8%)
CIE-LABlab(49.36, -41.19, 48.18)
CIE-LCHlch(49.36, 63.39, 130.53°)
OKLaboklab(54.98% -0.1145 0.1064)
OKLCHoklch(54.98% 0.156 137.1)
XYZxyz(10.5819, 17.8890, 3.6542)
Luminance0.1789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8516 #5C1685
analogous
#768516 #3F8516 #168525
triadic
#3F8516 #163F85 #85163F
tetradic
#3F8516 #167685 #5C1685 #852516
square
#3F8516 #167685 #5C1685 #852516
split-complementary
#3F8516 #251685 #851676
monochromatic
#0D1C05 #26500D #3F8516 #58BA1F #75DE37

Accessibility & contrast

On white

4.59
#3F8516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#3F8516 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3F8516
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8516#FFFFFF#000000##FFFFFF
##3F85161.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#817324
Tritanopia (blue-blind)
#3A8071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3f8516;
/* rgb */ color: rgb(63, 133, 22);
/* oklch */ color: oklch(55.0% 0.156 137.1);
Tailwind
colors: {
  custom: {
    50: '#7ca95e',
    500: '#3f8516',
    950: '#000000',
  },
}
SCSS
$custom: #3f8516;
$custom-light: #7ca95e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8516",
  "rgb": {
    "r": 63,
    "g": 133,
    "b": 22
  },
  "hsl": {
    "h": 97.838,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54982,
    "c": 0.15625,
    "h": 137.1
  },
  "luminance": 0.1789
}

Semantic roles & 50–950 ramp

primary
#3F8516
secondary
#8C3EB9
accent
#39EEAC
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3F8516

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

Preview Lab → · Contrast checker → · Palette generator →

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