#3F7311#3F7311

#3F7311 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.0% C 0.136 H 134.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#3F7311
RGBrgb(63, 115, 17)
HSLhsl(92, 74%, 26%)
HSVhsv(92, 85%, 45%)
CMYKcmyk(45.2%, 0%, 85.2%, 54.9%)
CIE-LABlab(43.30, -33.93, 44.12)
CIE-LCHlch(43.30, 55.66, 127.56°)
OKLaboklab(49.99% -0.0953 0.0971)
OKLCHoklch(49.99% 0.136 134.5)
XYZxyz(8.2816, 13.3582, 2.6722)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7311 #451173
analogous
#707311 #3F7311 #117314
triadic
#3F7311 #113F73 #73113F
tetradic
#3F7311 #117073 #451173 #731411
square
#3F7311 #117073 #451173 #731411
split-complementary
#3F7311 #141173 #731170
monochromatic
#0F1B04 #223E09 #3F7311 #5CA819 #79DE21

Accessibility & contrast

On white

5.72
#3F7311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#3F7311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7311
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7311#FFFFFF#000000##FFFFFF
##3F73111.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#71651D
Tritanopia (blue-blind)
#3E6E61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3f7311;
/* rgb */ color: rgb(63, 115, 17);
/* oklch */ color: oklch(50.0% 0.136 134.5);
Tailwind
colors: {
  custom: {
    50: '#7a9c59',
    500: '#3f7311',
    950: '#000000',
  },
}
SCSS
$custom: #3f7311;
$custom-light: #7a9c59;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7311",
  "rgb": {
    "r": 63,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 91.837,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49989,
    "c": 0.136,
    "h": 134.5
  },
  "luminance": 0.13359
}

Semantic roles & 50–950 ramp

primary
#3F7311
secondary
#7336AA
accent
#37F19A
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3F7311

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

Preview Lab → · Contrast checker → · Palette generator →

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