#3F8E16#3F8E16

#3F8E16 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.4% C 0.167 H 137.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#3F8E16
RGBrgb(63, 142, 22)
HSLhsl(100, 73%, 32%)
HSVhsv(100, 85%, 56%)
CMYKcmyk(55.6%, 0%, 84.5%, 44.3%)
CIE-LABlab(52.35, -44.72, 50.91)
CIE-LCHlch(52.35, 67.76, 131.30°)
OKLaboklab(57.45% -0.1239 0.1121)
OKLCHoklch(57.45% 0.167 137.9)
XYZxyz(11.8673, 20.4597, 4.0827)
Luminance0.2046 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8E16 #65168E
analogous
#7B8E16 #3F8E16 #168E29
triadic
#3F8E16 #163F8E #8E163F
tetradic
#3F8E16 #167B8E #65168E #8E2916
square
#3F8E16 #167B8E #65168E #8E2916
split-complementary
#3F8E16 #29168E #8E167B
monochromatic
#102406 #27590E #3F8E16 #57C31E #75E13D

Accessibility & contrast

On white

4.12
#3F8E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#3F8E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8E16
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8E16#FFFFFF#000000##000000
##3F8E161.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#897A25
Tritanopia (blue-blind)
#388979
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #3f8e16;
/* rgb */ color: rgb(63, 142, 22);
/* oklch */ color: oklch(57.4% 0.167 137.9);
Tailwind
colors: {
  custom: {
    50: '#7db060',
    500: '#3f8e16',
    950: '#000000',
  },
}
SCSS
$custom: #3f8e16;
$custom-light: #7db060;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8e16",
  "rgb": {
    "r": 63,
    "g": 142,
    "b": 22
  },
  "hsl": {
    "h": 99.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57448,
    "c": 0.16709,
    "h": 137.9
  },
  "luminance": 0.20461
}

Semantic roles & 50–950 ramp

primary
#3F8E16
secondary
#953FC1
accent
#38F0B1
background
#F8FAF5
surface
#EFF5EA
border
#CACFC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #3F8E16

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

Preview Lab → · Contrast checker → · Palette generator →

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