#3F831A#3F831A

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

Color values

HEX#3F831A
RGBrgb(63, 131, 26)
HSLhsl(99, 67%, 31%)
HSVhsv(99, 80%, 51%)
CMYKcmyk(51.9%, 0%, 80.2%, 48.6%)
CIE-LABlab(48.71, -40.16, 46.32)
CIE-LCHlch(48.71, 61.30, 130.93°)
OKLaboklab(54.46% -0.1114 0.1031)
OKLCHoklch(54.46% 0.152 137.2)
XYZxyz(10.3523, 17.3632, 3.7830)
Luminance0.1736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F831A #5E1A83
analogous
#73831A #3F831A #1A8329
triadic
#3F831A #1A3F83 #831A3F
tetradic
#3F831A #1A7383 #5E1A83 #83291A
square
#3F831A #1A7383 #5E1A83 #83291A
split-complementary
#3F831A #291A83 #831A73
monochromatic
#0E1D06 #265010 #3F831A #58B624 #75D93F

Accessibility & contrast

On white

4.70
#3F831A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3F831A
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F831A#FFFFFF#000000##FFFFFF
##3F831A1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f831a;
/* rgb */ color: rgb(63, 131, 26);
/* oklch */ color: oklch(54.5% 0.152 137.2);
Tailwind
colors: {
  custom: {
    50: '#7ba860',
    500: '#3f831a',
    950: '#000000',
  },
}
SCSS
$custom: #3f831a;
$custom-light: #7ba860;
$custom-dark: #000000;
JSON
{
  "hex": "#3f831a",
  "rgb": {
    "r": 63,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 98.857,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54456,
    "c": 0.1518,
    "h": 137.2
  },
  "luminance": 0.17364
}

Semantic roles & 50–950 ramp

primary
#3F831A
secondary
#8E42B7
accent
#3EEAAD
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F831A

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

Preview Lab → · Contrast checker → · Palette generator →

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