#3F751C#3F751C

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

Color values

HEX#3F751C
RGBrgb(63, 117, 28)
HSLhsl(96, 61%, 28%)
HSVhsv(96, 76%, 46%)
CMYKcmyk(46.2%, 0%, 76.1%, 54.1%)
CIE-LABlab(44.04, -34.12, 41.03)
CIE-LCHlch(44.04, 53.36, 129.75°)
OKLaboklab(50.61% -0.095 0.0923)
OKLCHoklch(50.61% 0.133 135.8)
XYZxyz(8.6206, 13.8627, 3.3199)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F751C #521C75
analogous
#6B751C #3F751C #1C7525
triadic
#3F751C #1C3F75 #751C3F
tetradic
#3F751C #1C6B75 #521C75 #75251C
square
#3F751C #1C6B75 #521C75 #75251C
split-complementary
#3F751C #251C75 #751C6B
monochromatic
#0D1906 #244410 #3F751C #5AA628 #76D03B

Accessibility & contrast

On white

5.57
#3F751C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#3F751C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F751C
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F751C#FFFFFF#000000##FFFFFF
##3F751C1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B0B
Deuteranopia (green-blind)
#726625
Tritanopia (blue-blind)
#3D7064
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3f751c;
/* rgb */ color: rgb(63, 117, 28);
/* oklch */ color: oklch(50.6% 0.133 135.8);
Tailwind
colors: {
  custom: {
    50: '#799d5f',
    500: '#3f751c',
    950: '#000000',
  },
}
SCSS
$custom: #3f751c;
$custom-light: #799d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f751c",
  "rgb": {
    "r": 63,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 96.404,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50614,
    "c": 0.13251,
    "h": 135.8
  },
  "luminance": 0.13863
}

Semantic roles & 50–950 ramp

primary
#3F751C
secondary
#8144A9
accent
#43E4A5
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3F751C

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

Preview Lab → · Contrast checker → · Palette generator →

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