#3F7211#3F7211

#3F7211 is a mid, vivid yellow-green. Relative luminance 0.131; OKLCH L 49.7% C 0.135 H 134.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#3F7211
RGBrgb(63, 114, 17)
HSLhsl(92, 74%, 26%)
HSVhsv(92, 85%, 45%)
CMYKcmyk(44.7%, 0%, 85.1%, 55.3%)
CIE-LABlab(42.96, -33.49, 43.81)
CIE-LCHlch(42.96, 55.15, 127.40°)
OKLaboklab(49.71% -0.0941 0.0964)
OKLCHoklch(49.71% 0.135 134.3)
XYZxyz(8.1682, 13.1314, 2.6344)
Luminance0.1313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7211 #441172
analogous
#6F7211 #3F7211 #117213
triadic
#3F7211 #113F72 #72113F
tetradic
#3F7211 #116F72 #441172 #721311
square
#3F7211 #116F72 #441172 #721311
split-complementary
#3F7211 #131172 #72116F
monochromatic
#0F1B04 #223D09 #3F7211 #5CA719 #7ADD21

Accessibility & contrast

On white

5.79
#3F7211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#3F7211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7211
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7211#FFFFFF#000000##FFFFFF
##3F72111.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#70641D
Tritanopia (blue-blind)
#3E6D61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3f7211;
/* rgb */ color: rgb(63, 114, 17);
/* oklch */ color: oklch(49.7% 0.135 134.3);
Tailwind
colors: {
  custom: {
    50: '#7a9b59',
    500: '#3f7211',
    950: '#000000',
  },
}
SCSS
$custom: #3f7211;
$custom-light: #7a9b59;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7211",
  "rgb": {
    "r": 63,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 91.546,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49712,
    "c": 0.13471,
    "h": 134.3
  },
  "luminance": 0.13132
}

Semantic roles & 50–950 ramp

primary
#3F7211
secondary
#7236A9
accent
#37F199
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3F7211

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

Preview Lab → · Contrast checker → · Palette generator →

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