#3F8019#3F8019

#3F8019 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.6% C 0.149 H 136.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#3F8019
RGBrgb(63, 128, 25)
HSLhsl(98, 67%, 30%)
HSVhsv(98, 80%, 50%)
CMYKcmyk(50.8%, 0%, 80.5%, 49.8%)
CIE-LABlab(47.71, -38.99, 45.69)
CIE-LCHlch(47.71, 60.07, 130.48°)
OKLaboklab(53.62% -0.1084 0.1016)
OKLCHoklch(53.62% 0.149 136.8)
XYZxyz(9.9442, 16.5646, 3.5928)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8019 #5A1980
analogous
#728019 #3F8019 #198027
triadic
#3F8019 #193F80 #80193F
tetradic
#3F8019 #197280 #5A1980 #802719
square
#3F8019 #197280 #5A1980 #802719
split-complementary
#3F8019 #271980 #801972
monochromatic
#0D1A05 #264D0F #3F8019 #58B323 #75D93B

Accessibility & contrast

On white

4.87
#3F8019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#3F8019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F8019
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8019#FFFFFF#000000##FFFFFF
##3F80191.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#3B7B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3f8019;
/* rgb */ color: rgb(63, 128, 25);
/* oklch */ color: oklch(53.6% 0.149 136.8);
Tailwind
colors: {
  custom: {
    50: '#7ba55f',
    500: '#3f8019',
    950: '#000000',
  },
}
SCSS
$custom: #3f8019;
$custom-light: #7ba55f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8019",
  "rgb": {
    "r": 63,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 97.864,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.53624,
    "c": 0.14856,
    "h": 136.8
  },
  "luminance": 0.16565
}

Semantic roles & 50–950 ramp

primary
#3F8019
secondary
#8A41B4
accent
#3EEAAB
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F8019

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

Preview Lab → · Contrast checker → · Palette generator →

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