#3F851A#3F851A

#3F851A is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.0% C 0.154 H 137.4°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#3F851A
RGBrgb(63, 133, 26)
HSLhsl(99, 67%, 31%)
HSVhsv(99, 80%, 52%)
CMYKcmyk(52.6%, 0%, 80.5%, 47.8%)
CIE-LABlab(49.38, -40.97, 46.95)
CIE-LCHlch(49.38, 62.31, 131.11°)
OKLaboklab(55.01% -0.1136 0.1044)
OKLCHoklch(55.01% 0.154 137.4)
XYZxyz(10.6235, 17.9056, 3.8734)
Luminance0.1791 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F851A #601A85
analogous
#74851A #3F851A #1A852A
triadic
#3F851A #1A3F85 #851A3F
tetradic
#3F851A #1A7485 #601A85 #852A1A
square
#3F851A #1A7485 #601A85 #852A1A
split-complementary
#3F851A #2A1A85 #851A74
monochromatic
#0F1F06 #275210 #3F851A #57B824 #75DA40

Accessibility & contrast

On white

4.58
#3F851A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#3F851A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F851A
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F851A#FFFFFF#000000##000000
##3F851A1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#817326
Tritanopia (blue-blind)
#3A8071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3f851a;
/* rgb */ color: rgb(63, 133, 26);
/* oklch */ color: oklch(55.0% 0.154 137.4);
Tailwind
colors: {
  custom: {
    50: '#7ca960',
    500: '#3f851a',
    950: '#000000',
  },
}
SCSS
$custom: #3f851a;
$custom-light: #7ca960;
$custom-dark: #000000;
JSON
{
  "hex": "#3f851a",
  "rgb": {
    "r": 63,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 99.252,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55005,
    "c": 0.1543,
    "h": 137.4
  },
  "luminance": 0.17906
}

Semantic roles & 50–950 ramp

primary
#3F851A
secondary
#9042B8
accent
#3EEAAF
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3F851A

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

Preview Lab → · Contrast checker → · Palette generator →

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