#3F801A#3F801A

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

Color values

HEX#3F801A
RGBrgb(63, 128, 26)
HSLhsl(98, 66%, 30%)
HSVhsv(98, 80%, 50%)
CMYKcmyk(50.8%, 0%, 79.7%, 49.8%)
CIE-LABlab(47.71, -38.93, 45.36)
CIE-LCHlch(47.71, 59.78, 130.64°)
OKLaboklab(53.63% -0.1081 0.1011)
OKLCHoklch(53.63% 0.148 136.9)
XYZxyz(9.9552, 16.5690, 3.6506)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F801A #5B1A80
analogous
#72801A #3F801A #1A8028
triadic
#3F801A #1A3F80 #801A3F
tetradic
#3F801A #1A7280 #5B1A80 #80281A
square
#3F801A #1A7280 #5B1A80 #80281A
split-complementary
#3F801A #281A80 #801A72
monochromatic
#0D1A05 #264D10 #3F801A #58B324 #75D83D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F801A#FFFFFF#000000##FFFFFF
##3F801A1.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)
#857501
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#3B7B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3f801a;
/* rgb */ color: rgb(63, 128, 26);
/* oklch */ color: oklch(53.6% 0.148 136.9);
Tailwind
colors: {
  custom: {
    50: '#7ba55f',
    500: '#3f801a',
    950: '#000000',
  },
}
SCSS
$custom: #3f801a;
$custom-light: #7ba55f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f801a",
  "rgb": {
    "r": 63,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 98.235,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53631,
    "c": 0.14803,
    "h": 136.9
  },
  "luminance": 0.1657
}

Semantic roles & 50–950 ramp

primary
#3F801A
secondary
#8B42B4
accent
#3FE9AB
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F801A

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

Preview Lab → · Contrast checker → · Palette generator →

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