#3F841C#3F841C

#3F841C is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 54.7% C 0.152 H 137.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#3F841C
RGBrgb(63, 132, 28)
HSLhsl(100, 65%, 31%)
HSVhsv(100, 79%, 52%)
CMYKcmyk(52.3%, 0%, 78.8%, 48.2%)
CIE-LABlab(49.06, -40.44, 45.96)
CIE-LCHlch(49.06, 61.22, 131.34°)
OKLaboklab(54.74% -0.1121 0.1027)
OKLCHoklch(54.74% 0.152 137.5)
XYZxyz(10.5104, 17.6424, 3.9499)
Luminance0.1764 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F841C #611C84
analogous
#73841C #3F841C #1C842D
triadic
#3F841C #1C3F84 #841C3F
tetradic
#3F841C #1C7384 #611C84 #842D1C
square
#3F841C #1C7384 #611C84 #842D1C
split-complementary
#3F841C #2D1C84 #841C73
monochromatic
#0F1F07 #275211 #3F841C #57B627 #75D743

Accessibility & contrast

On white

4.64
#3F841C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#3F841C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3F841C
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F841C#FFFFFF#000000##FFFFFF
##3F841C1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887803
Deuteranopia (green-blind)
#807227
Tritanopia (blue-blind)
#3A7F70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3f841c;
/* rgb */ color: rgb(63, 132, 28);
/* oklch */ color: oklch(54.7% 0.152 137.5);
Tailwind
colors: {
  custom: {
    50: '#7ca861',
    500: '#3f841c',
    950: '#000000',
  },
}
SCSS
$custom: #3f841c;
$custom-light: #7ca861;
$custom-dark: #000000;
JSON
{
  "hex": "#3f841c",
  "rgb": {
    "r": 63,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 99.808,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54743,
    "c": 0.15198,
    "h": 137.5
  },
  "luminance": 0.17643
}

Semantic roles & 50–950 ramp

primary
#3F841C
secondary
#9145B7
accent
#40E8AF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #3F841C

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

Preview Lab → · Contrast checker → · Palette generator →

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