#3F831B#3F831B

#3F831B is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.5% C 0.151 H 137.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#3F831B
RGBrgb(63, 131, 27)
HSLhsl(99, 66%, 31%)
HSVhsv(99, 79%, 51%)
CMYKcmyk(51.9%, 0%, 79.4%, 48.6%)
CIE-LABlab(48.72, -40.10, 45.98)
CIE-LCHlch(48.72, 61.01, 131.09°)
OKLaboklab(54.46% -0.1112 0.1025)
OKLCHoklch(54.46% 0.151 137.3)
XYZxyz(10.3637, 17.3677, 3.8429)
Luminance0.1737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F831B #5F1B83
analogous
#73831B #3F831B #1B832B
triadic
#3F831B #1B3F83 #831B3F
tetradic
#3F831B #1B7383 #5F1B83 #832B1B
square
#3F831B #1B7383 #5F1B83 #832B1B
split-complementary
#3F831B #2B1B83 #831B73
monochromatic
#0E1E06 #275011 #3F831B #57B625 #75D841

Accessibility & contrast

On white

4.69
#3F831B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#3F831B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F831B
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F831B#FFFFFF#000000##FFFFFF
##3F831B1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877701
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#3B7E6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3f831b;
/* rgb */ color: rgb(63, 131, 27);
/* oklch */ color: oklch(54.5% 0.151 137.3);
Tailwind
colors: {
  custom: {
    50: '#7ba860',
    500: '#3f831b',
    950: '#000000',
  },
}
SCSS
$custom: #3f831b;
$custom-light: #7ba860;
$custom-dark: #000000;
JSON
{
  "hex": "#3f831b",
  "rgb": {
    "r": 63,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 99.231,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54462,
    "c": 0.15127,
    "h": 137.3
  },
  "luminance": 0.17368
}

Semantic roles & 50–950 ramp

primary
#3F831B
secondary
#8F43B6
accent
#3FE9AE
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F831B

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

Preview Lab → · Contrast checker → · Palette generator →

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