#3F8A19#3F8A19

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

Color values

HEX#3F8A19
RGBrgb(63, 138, 25)
HSLhsl(100, 69%, 32%)
HSVhsv(100, 82%, 54%)
CMYKcmyk(54.3%, 0%, 81.9%, 45.9%)
CIE-LABlab(51.04, -43.01, 48.83)
CIE-LCHlch(51.04, 65.07, 131.37°)
OKLaboklab(56.37% -0.1192 0.1082)
OKLCHoklch(56.37% 0.161 137.8)
XYZxyz(11.3135, 19.3030, 4.0492)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8A19 #64198A
analogous
#788A19 #3F8A19 #198A2C
triadic
#3F8A19 #193F8A #8A193F
tetradic
#3F8A19 #19788A #64198A #8A2C19
square
#3F8A19 #19788A #64198A #8A2C19
split-complementary
#3F8A19 #2C198A #8A1978
monochromatic
#102206 #275610 #3F8A19 #57BE22 #75DD41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F8A19#FFFFFF#000000##000000
##3F8A191.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)
#857726
Tritanopia (blue-blind)
#398575
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3f8a19;
/* rgb */ color: rgb(63, 138, 25);
/* oklch */ color: oklch(56.4% 0.161 137.8);
Tailwind
colors: {
  custom: {
    50: '#7dad60',
    500: '#3f8a19',
    950: '#000000',
  },
}
SCSS
$custom: #3f8a19;
$custom-light: #7dad60;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8a19",
  "rgb": {
    "r": 63,
    "g": 138,
    "b": 25
  },
  "hsl": {
    "h": 99.823,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5637,
    "c": 0.16095,
    "h": 137.8
  },
  "luminance": 0.19304
}

Semantic roles & 50–950 ramp

primary
#3F8A19
secondary
#9442BD
accent
#3CECB1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #3F8A19

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

Preview Lab → · Contrast checker → · Palette generator →

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