#3F801C#3F801C

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

Color values

HEX#3F801C
RGBrgb(63, 128, 28)
HSLhsl(99, 64%, 31%)
HSVhsv(99, 78%, 50%)
CMYKcmyk(50.8%, 0%, 78.1%, 49.8%)
CIE-LABlab(47.72, -38.80, 44.67)
CIE-LCHlch(47.72, 59.17, 130.98°)
OKLaboklab(53.64% -0.1077 0.0999)
OKLCHoklch(53.64% 0.147 137.1)
XYZxyz(9.9784, 16.5782, 3.7725)
Luminance0.1658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F801C #5D1C80
analogous
#71801C #3F801C #1C802B
triadic
#3F801C #1C3F80 #801C3F
tetradic
#3F801C #1C7180 #5D1C80 #802B1C
square
#3F801C #1C7180 #5D1C80 #802B1C
split-complementary
#3F801C #2B1C80 #801C71
monochromatic
#0E1C06 #264E11 #3F801C #58B227 #75D541

Accessibility & contrast

On white

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

On black

4.32
#3F801C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3F801C#FFFFFF#000000##FFFFFF
##3F801C1.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f801c;
/* rgb */ color: rgb(63, 128, 28);
/* oklch */ color: oklch(53.6% 0.147 137.1);
Tailwind
colors: {
  custom: {
    50: '#7ba560',
    500: '#3f801c',
    950: '#000000',
  },
}
SCSS
$custom: #3f801c;
$custom-light: #7ba560;
$custom-dark: #000000;
JSON
{
  "hex": "#3f801c",
  "rgb": {
    "r": 63,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 99,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53644,
    "c": 0.1469,
    "h": 137.1
  },
  "luminance": 0.16579
}

Semantic roles & 50–950 ramp

primary
#3F801C
secondary
#8D44B3
accent
#41E7AD
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F801C

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

Preview Lab → · Contrast checker → · Palette generator →

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