#3F8B14#3F8B14

#3F8B14 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.6% C 0.164 H 137.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#3F8B14
RGBrgb(63, 139, 20)
HSLhsl(98, 75%, 31%)
HSVhsv(98, 86%, 55%)
CMYKcmyk(54.7%, 0%, 85.6%, 45.5%)
CIE-LABlab(51.35, -43.66, 50.54)
CIE-LCHlch(51.35, 66.79, 130.82°)
OKLaboklab(56.62% -0.1212 0.111)
OKLCHoklch(56.62% 0.164 137.5)
XYZxyz(11.4084, 19.5716, 3.8382)
Luminance0.1957 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8B14 #60148B
analogous
#7A8B14 #3F8B14 #148B24
triadic
#3F8B14 #143F8B #8B143F
tetradic
#3F8B14 #147A8B #60148B #8B2414
square
#3F8B14 #147A8B #60148B #8B2414
split-complementary
#3F8B14 #24148B #8B147A
monochromatic
#0F2005 #27550C #3F8B14 #57C11C #75E237

Accessibility & contrast

On white

4.27
#3F8B14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#3F8B14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8B14
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8B14#FFFFFF#000000##000000
##3F8B141.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#867824
Tritanopia (blue-blind)
#398676
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3f8b14;
/* rgb */ color: rgb(63, 139, 20);
/* oklch */ color: oklch(56.6% 0.164 137.5);
Tailwind
colors: {
  custom: {
    50: '#7dad5f',
    500: '#3f8b14',
    950: '#000000',
  },
}
SCSS
$custom: #3f8b14;
$custom-light: #7dad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8b14",
  "rgb": {
    "r": 63,
    "g": 139,
    "b": 20
  },
  "hsl": {
    "h": 98.319,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56618,
    "c": 0.16435,
    "h": 137.5
  },
  "luminance": 0.19573
}

Semantic roles & 50–950 ramp

primary
#3F8B14
secondary
#903CBF
accent
#36F1AE
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #3F8B14

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

Preview Lab → · Contrast checker → · Palette generator →

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