#3F741B#3F741B

#3F741B is a mid, vivid yellow-green. Relative luminance 0.136; OKLCH L 50.3% C 0.132 H 135.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#3F741B
RGBrgb(63, 116, 27)
HSLhsl(96, 62%, 28%)
HSVhsv(96, 77%, 45%)
CMYKcmyk(45.7%, 0%, 76.7%, 54.5%)
CIE-LABlab(43.69, -33.76, 41.07)
CIE-LCHlch(43.69, 53.17, 129.42°)
OKLaboklab(50.33% -0.0941 0.0923)
OKLCHoklch(50.33% 0.132 135.6)
XYZxyz(8.4929, 13.6262, 3.2193)
Luminance0.1363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F741B #501B74
analogous
#6B741B #3F741B #1B7423
triadic
#3F741B #1B3F74 #741B3F
tetradic
#3F741B #1B6B74 #501B74 #74231B
square
#3F741B #1B6B74 #501B74 #74231B
split-complementary
#3F741B #231B74 #741B6B
monochromatic
#0D1906 #24420F #3F741B #5AA627 #76D139

Accessibility & contrast

On white

5.64
#3F741B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#3F741B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F741B
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F741B#FFFFFF#000000##FFFFFF
##3F741B1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A0A
Deuteranopia (green-blind)
#716624
Tritanopia (blue-blind)
#3D6F63
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3f741b;
/* rgb */ color: rgb(63, 116, 27);
/* oklch */ color: oklch(50.3% 0.132 135.6);
Tailwind
colors: {
  custom: {
    50: '#799c5e',
    500: '#3f741b',
    950: '#000000',
  },
}
SCSS
$custom: #3f741b;
$custom-light: #799c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f741b",
  "rgb": {
    "r": 63,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 95.73,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5033,
    "c": 0.13182,
    "h": 135.6
  },
  "luminance": 0.13627
}

Semantic roles & 50–950 ramp

primary
#3F741B
secondary
#7F42A9
accent
#42E5A3
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3F741B

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

Preview Lab → · Contrast checker → · Palette generator →

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