#3F751B#3F751B

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

Color values

HEX#3F751B
RGBrgb(63, 117, 27)
HSLhsl(96, 63%, 28%)
HSVhsv(96, 77%, 46%)
CMYKcmyk(46.2%, 0%, 76.9%, 54.1%)
CIE-LABlab(44.03, -34.20, 41.41)
CIE-LCHlch(44.03, 53.70, 129.55°)
OKLaboklab(50.61% -0.0953 0.093)
OKLCHoklch(50.61% 0.133 135.7)
XYZxyz(8.6088, 13.8580, 3.2579)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F751B #511B75
analogous
#6C751B #3F751B #1B7524
triadic
#3F751B #1B3F75 #751B3F
tetradic
#3F751B #1B6C75 #511B75 #75241B
square
#3F751B #1B6C75 #511B75 #75241B
split-complementary
#3F751B #241B75 #751B6C
monochromatic
#0D1906 #244310 #3F751B #5AA726 #76D139

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F751B#FFFFFF#000000##FFFFFF
##3F751B1.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)
#796B09
Deuteranopia (green-blind)
#726624
Tritanopia (blue-blind)
#3D7064
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3f751b;
/* rgb */ color: rgb(63, 117, 27);
/* oklch */ color: oklch(50.6% 0.133 135.7);
Tailwind
colors: {
  custom: {
    50: '#799d5e',
    500: '#3f751b',
    950: '#000000',
  },
}
SCSS
$custom: #3f751b;
$custom-light: #799d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f751b",
  "rgb": {
    "r": 63,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 96,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50606,
    "c": 0.13315,
    "h": 135.7
  },
  "luminance": 0.13858
}

Semantic roles & 50–950 ramp

primary
#3F751B
secondary
#8042A9
accent
#42E6A4
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #3F751B

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

Preview Lab → · Contrast checker → · Palette generator →

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