#3F831C#3F831C

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

Color values

HEX#3F831C
RGBrgb(63, 131, 28)
HSLhsl(100, 65%, 31%)
HSVhsv(100, 79%, 51%)
CMYKcmyk(51.9%, 0%, 78.6%, 48.6%)
CIE-LABlab(48.73, -40.03, 45.64)
CIE-LCHlch(48.73, 60.71, 131.25°)
OKLaboklab(54.47% -0.111 0.102)
OKLCHoklch(54.47% 0.151 137.4)
XYZxyz(10.3755, 17.3724, 3.9049)
Luminance0.1737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F831C #601C83
analogous
#72831C #3F831C #1C832C
triadic
#3F831C #1C3F83 #831C3F
tetradic
#3F831C #1C7283 #601C83 #832C1C
square
#3F831C #1C7283 #601C83 #832C1C
split-complementary
#3F831C #2C1C83 #831C72
monochromatic
#0F1E06 #275111 #3F831C #57B527 #75D743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F831C#FFFFFF#000000##FFFFFF
##3F831C1.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)
#877704
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#3A7E70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3f831c;
/* rgb */ color: rgb(63, 131, 28);
/* oklch */ color: oklch(54.5% 0.151 137.4);
Tailwind
colors: {
  custom: {
    50: '#7ba861',
    500: '#3f831c',
    950: '#000000',
  },
}
SCSS
$custom: #3f831c;
$custom-light: #7ba861;
$custom-dark: #000000;
JSON
{
  "hex": "#3f831c",
  "rgb": {
    "r": 63,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 99.612,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54469,
    "c": 0.15071,
    "h": 137.4
  },
  "luminance": 0.17373
}

Semantic roles & 50–950 ramp

primary
#3F831C
secondary
#9045B6
accent
#40E8AF
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F831C

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

Preview Lab → · Contrast checker → · Palette generator →

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