#3F7111#3F7111

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

Color values

HEX#3F7111
RGBrgb(63, 113, 17)
HSLhsl(91, 74%, 25%)
HSVhsv(91, 85%, 44%)
CMYKcmyk(44.2%, 0%, 85%, 55.7%)
CIE-LABlab(42.62, -33.05, 43.50)
CIE-LCHlch(42.62, 54.63, 127.23°)
OKLaboklab(49.44% -0.0929 0.0958)
OKLCHoklch(49.44% 0.133 134.1)
XYZxyz(8.0561, 12.9070, 2.5970)
Luminance0.1291 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7111 #431171
analogous
#6F7111 #3F7111 #117113
triadic
#3F7111 #113F71 #71113F
tetradic
#3F7111 #116F71 #431171 #711311
square
#3F7111 #116F71 #431171 #711311
split-complementary
#3F7111 #131171 #71116F
monochromatic
#0F1B04 #213C09 #3F7111 #5DA619 #7ADB21

Accessibility & contrast

On white

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

On black

3.58
#3F7111 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3F7111#FFFFFF#000000##FFFFFF
##3F71111.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f7111;
/* rgb */ color: rgb(63, 113, 17);
/* oklch */ color: oklch(49.4% 0.133 134.1);
Tailwind
colors: {
  custom: {
    50: '#799a59',
    500: '#3f7111',
    950: '#000000',
  },
}
SCSS
$custom: #3f7111;
$custom-light: #799a59;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7111",
  "rgb": {
    "r": 63,
    "g": 113,
    "b": 17
  },
  "hsl": {
    "h": 91.25,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49435,
    "c": 0.13342,
    "h": 134.1
  },
  "luminance": 0.12907
}

Semantic roles & 50–950 ramp

primary
#3F7111
secondary
#7136A8
accent
#37F198
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3F7111

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

Preview Lab → · Contrast checker → · Palette generator →

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