#3F7117#3F7117

#3F7117 is a mid, vivid yellow-green. Relative luminance 0.129; OKLCH L 49.5% C 0.130 H 134.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#3F7117
RGBrgb(63, 113, 23)
HSLhsl(93, 66%, 27%)
HSVhsv(93, 80%, 44%)
CMYKcmyk(44.2%, 0%, 79.6%, 55.7%)
CIE-LABlab(42.66, -32.71, 41.55)
CIE-LCHlch(42.66, 52.88, 128.21°)
OKLaboklab(49.47% -0.0916 0.0926)
OKLCHoklch(49.47% 0.13 134.7)
XYZxyz(8.1095, 12.9284, 2.8786)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7117 #491771
analogous
#6C7117 #3F7117 #17711C
triadic
#3F7117 #173F71 #71173F
tetradic
#3F7117 #176C71 #491771 #711C17
square
#3F7117 #176C71 #491771 #711C17
split-complementary
#3F7117 #1C1771 #71176C
monochromatic
#0E1905 #233E0D #3F7117 #5BA421 #78D42E

Accessibility & contrast

On white

5.86
#3F7117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#3F7117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7117
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7117#FFFFFF#000000##FFFFFF
##3F71171.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766703
Deuteranopia (green-blind)
#6F6320
Tritanopia (blue-blind)
#3E6C60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3f7117;
/* rgb */ color: rgb(63, 113, 23);
/* oklch */ color: oklch(49.5% 0.130 134.7);
Tailwind
colors: {
  custom: {
    50: '#799a5c',
    500: '#3f7117',
    950: '#000000',
  },
}
SCSS
$custom: #3f7117;
$custom-light: #799a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7117",
  "rgb": {
    "r": 63,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 93.333,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49472,
    "c": 0.13027,
    "h": 134.7
  },
  "luminance": 0.12929
}

Semantic roles & 50–950 ramp

primary
#3F7117
secondary
#783DA7
accent
#3FE99D
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3F7117

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

Preview Lab → · Contrast checker → · Palette generator →

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