#3F751F#3F751F

#3F751F is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.6% C 0.130 H 136.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#3F751F
RGBrgb(63, 117, 31)
HSLhsl(98, 58%, 29%)
HSVhsv(98, 74%, 46%)
CMYKcmyk(46.2%, 0%, 73.5%, 54.1%)
CIE-LABlab(44.06, -33.89, 39.84)
CIE-LCHlch(44.06, 52.31, 130.38°)
OKLaboklab(50.64% -0.0942 0.0903)
OKLCHoklch(50.64% 0.13 136.2)
XYZxyz(8.6583, 13.8777, 3.5185)
Luminance0.1388 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F751F #551F75
analogous
#6A751F #3F751F #1F752A
triadic
#3F751F #1F3F75 #751F3F
tetradic
#3F751F #1F6A75 #551F75 #752A1F
square
#3F751F #1F6A75 #551F75 #752A1F
split-complementary
#3F751F #2A1F75 #751F6A
monochromatic
#0D1806 #254512 #3F751F #59A52C #75CD42

Accessibility & contrast

On white

5.56
#3F751F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#3F751F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F751F
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F751F#FFFFFF#000000##FFFFFF
##3F751F1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B11
Deuteranopia (green-blind)
#726627
Tritanopia (blue-blind)
#3D7164
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3f751f;
/* rgb */ color: rgb(63, 117, 31);
/* oklch */ color: oklch(50.6% 0.130 136.2);
Tailwind
colors: {
  custom: {
    50: '#799d60',
    500: '#3f751f',
    950: '#000000',
  },
}
SCSS
$custom: #3f751f;
$custom-light: #799d60;
$custom-dark: #000000;
JSON
{
  "hex": "#3f751f",
  "rgb": {
    "r": 63,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 97.674,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50639,
    "c": 0.13049,
    "h": 136.2
  },
  "luminance": 0.13878
}

Semantic roles & 50–950 ramp

primary
#3F751F
secondary
#8447A9
accent
#46E1A8
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3F751F

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

Preview Lab → · Contrast checker → · Palette generator →

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