#3F8A15#3F8A15

#3F8A15 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.3% C 0.163 H 137.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#3F8A15
RGBrgb(63, 138, 21)
HSLhsl(98, 74%, 31%)
HSVhsv(98, 85%, 54%)
CMYKcmyk(54.3%, 0%, 84.8%, 45.9%)
CIE-LABlab(51.02, -43.22, 49.98)
CIE-LCHlch(51.02, 66.07, 130.85°)
OKLaboklab(56.35% -0.1199 0.11)
OKLCHoklch(56.35% 0.163 137.5)
XYZxyz(11.2734, 19.2870, 3.8380)
Luminance0.1929 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8A15 #60158A
analogous
#798A15 #3F8A15 #158A26
triadic
#3F8A15 #153F8A #8A153F
tetradic
#3F8A15 #15798A #60158A #8A2615
square
#3F8A15 #15798A #60158A #8A2615
split-complementary
#3F8A15 #26158A #8A1579
monochromatic
#0F2005 #27550D #3F8A15 #57BF1D #75E139

Accessibility & contrast

On white

4.32
#3F8A15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#3F8A15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8A15
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8A15#FFFFFF#000000##000000
##3F8A151.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#398575
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3f8a15;
/* rgb */ color: rgb(63, 138, 21);
/* oklch */ color: oklch(56.3% 0.163 137.5);
Tailwind
colors: {
  custom: {
    50: '#7dad5f',
    500: '#3f8a15',
    950: '#000000',
  },
}
SCSS
$custom: #3f8a15;
$custom-light: #7dad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8a15",
  "rgb": {
    "r": 63,
    "g": 138,
    "b": 21
  },
  "hsl": {
    "h": 98.462,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56348,
    "c": 0.16274,
    "h": 137.5
  },
  "luminance": 0.19288
}

Semantic roles & 50–950 ramp

primary
#3F8A15
secondary
#903DBE
accent
#38F0AE
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3F8A15

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

Preview Lab → · Contrast checker → · Palette generator →

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