#3F7717#3F7717

#3F7717 is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.1% C 0.138 H 135.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#3F7717
RGBrgb(63, 119, 23)
HSLhsl(95, 68%, 28%)
HSVhsv(95, 81%, 47%)
CMYKcmyk(47.1%, 0%, 80.7%, 53.3%)
CIE-LABlab(44.68, -35.33, 43.48)
CIE-LCHlch(44.68, 56.03, 129.09°)
OKLaboklab(51.13% -0.0987 0.0967)
OKLCHoklch(51.13% 0.138 135.6)
XYZxyz(8.8012, 14.3117, 3.1091)
Luminance0.1431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7717 #4F1777
analogous
#6F7717 #3F7717 #17771F
triadic
#3F7717 #173F77 #77173F
tetradic
#3F7717 #176F77 #4F1777 #771F17
square
#3F7717 #176F77 #4F1777 #771F17
split-complementary
#3F7717 #1F1777 #77176F
monochromatic
#0E1A05 #24440D #3F7717 #5AAA21 #76D731

Accessibility & contrast

On white

5.44
#3F7717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#3F7717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7717
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7717#FFFFFF#000000##FFFFFF
##3F77171.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#3D7265
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3f7717;
/* rgb */ color: rgb(63, 119, 23);
/* oklch */ color: oklch(51.1% 0.138 135.6);
Tailwind
colors: {
  custom: {
    50: '#7a9f5d',
    500: '#3f7717',
    950: '#000000',
  },
}
SCSS
$custom: #3f7717;
$custom-light: #7a9f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7717",
  "rgb": {
    "r": 63,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 95,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5113,
    "c": 0.13813,
    "h": 135.6
  },
  "luminance": 0.14312
}

Semantic roles & 50–950 ramp

primary
#3F7717
secondary
#7E3EAC
accent
#3DEAA2
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3F7717

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

Preview Lab → · Contrast checker → · Palette generator →

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