#3F7118#3F7118

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

Color values

HEX#3F7118
RGBrgb(63, 113, 24)
HSLhsl(94, 65%, 27%)
HSVhsv(94, 79%, 44%)
CMYKcmyk(44.2%, 0%, 78.8%, 55.7%)
CIE-LABlab(42.66, -32.64, 41.19)
CIE-LCHlch(42.66, 52.56, 128.39°)
OKLaboklab(49.48% -0.0913 0.092)
OKLCHoklch(49.48% 0.13 134.8)
XYZxyz(8.1197, 12.9325, 2.9324)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7118 #4A1871
analogous
#6C7118 #3F7118 #18711E
triadic
#3F7118 #183F71 #71183F
tetradic
#3F7118 #186C71 #4A1871 #711E18
square
#3F7118 #186C71 #4A1871 #711E18
split-complementary
#3F7118 #1E1871 #71186C
monochromatic
#0E1905 #233F0D #3F7118 #5BA323 #78D330

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F7118#FFFFFF#000000##FFFFFF
##3F71181.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)
#756705
Deuteranopia (green-blind)
#6F6321
Tritanopia (blue-blind)
#3E6C60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3f7118;
/* rgb */ color: rgb(63, 113, 24);
/* oklch */ color: oklch(49.5% 0.130 134.8);
Tailwind
colors: {
  custom: {
    50: '#799a5c',
    500: '#3f7118',
    950: '#000000',
  },
}
SCSS
$custom: #3f7118;
$custom-light: #799a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7118",
  "rgb": {
    "r": 63,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 93.708,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49479,
    "c": 0.12967,
    "h": 134.8
  },
  "luminance": 0.12933
}

Semantic roles & 50–950 ramp

primary
#3F7118
secondary
#793EA6
accent
#40E89E
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3F7118

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

Preview Lab → · Contrast checker → · Palette generator →

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