#3F7F11#3F7F11

#3F7F11 is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.3% C 0.151 H 136.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#3F7F11
RGBrgb(63, 127, 17)
HSLhsl(95, 76%, 28%)
HSVhsv(95, 87%, 50%)
CMYKcmyk(50.4%, 0%, 86.6%, 50.2%)
CIE-LABlab(47.33, -39.01, 47.74)
CIE-LCHlch(47.33, 61.65, 129.25°)
OKLaboklab(53.31% -0.1089 0.1047)
OKLCHoklch(53.31% 0.151 136.1)
XYZxyz(9.7402, 16.2753, 3.1584)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7F11 #51117F
analogous
#767F11 #3F7F11 #117F1A
triadic
#3F7F11 #113F7F #7F113F
tetradic
#3F7F11 #11767F #51117F #7F1A11
square
#3F7F11 #11767F #51117F #7F1A11
split-complementary
#3F7F11 #1A117F #7F1176
monochromatic
#0D1B04 #24490A #3F7F11 #5AB518 #76E228

Accessibility & contrast

On white

4.94
#3F7F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#3F7F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7F11
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7F11#FFFFFF#000000##FFFFFF
##3F7F111.004.944.264.94
#FFFFFF4.941.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7B6E1F
Tritanopia (blue-blind)
#3C7A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3f7f11;
/* rgb */ color: rgb(63, 127, 17);
/* oklch */ color: oklch(53.3% 0.151 136.1);
Tailwind
colors: {
  custom: {
    50: '#7ba55b',
    500: '#3f7f11',
    950: '#000000',
  },
}
SCSS
$custom: #3f7f11;
$custom-light: #7ba55b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7f11",
  "rgb": {
    "r": 63,
    "g": 127,
    "b": 17
  },
  "hsl": {
    "h": 94.909,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53305,
    "c": 0.15105,
    "h": 136.1
  },
  "luminance": 0.16276
}

Semantic roles & 50–950 ramp

primary
#3F7F11
secondary
#8037B5
accent
#35F3A3
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3F7F11

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

Preview Lab → · Contrast checker → · Palette generator →

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