#3F8011#3F8011

#3F8011 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.6% C 0.152 H 136.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#3F8011
RGBrgb(63, 128, 17)
HSLhsl(95, 77%, 28%)
HSVhsv(95, 87%, 50%)
CMYKcmyk(50.8%, 0%, 86.7%, 49.8%)
CIE-LABlab(47.67, -39.42, 48.04)
CIE-LCHlch(47.67, 62.14, 129.37°)
OKLaboklab(53.58% -0.11 0.1053)
OKLCHoklch(53.58% 0.152 136.2)
XYZxyz(9.8700, 16.5349, 3.2017)
Luminance0.1654 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8011 #521180
analogous
#768011 #3F8011 #11801A
triadic
#3F8011 #113F80 #80113F
tetradic
#3F8011 #117680 #521180 #801A11
square
#3F8011 #117680 #521180 #801A11
split-complementary
#3F8011 #1A1180 #801176
monochromatic
#0D1B04 #244A0A #3F8011 #5AB618 #76E329

Accessibility & contrast

On white

4.88
#3F8011 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#3F8011 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F8011
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8011#FFFFFF#000000##FFFFFF
##3F80111.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#3C7B6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3f8011;
/* rgb */ color: rgb(63, 128, 17);
/* oklch */ color: oklch(53.6% 0.152 136.2);
Tailwind
colors: {
  custom: {
    50: '#7ba55c',
    500: '#3f8011',
    950: '#000000',
  },
}
SCSS
$custom: #3f8011;
$custom-light: #7ba55c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8011",
  "rgb": {
    "r": 63,
    "g": 128,
    "b": 17
  },
  "hsl": {
    "h": 95.135,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53581,
    "c": 0.15228,
    "h": 136.2
  },
  "luminance": 0.16536
}

Semantic roles & 50–950 ramp

primary
#3F8011
secondary
#8137B6
accent
#35F3A4
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3F8011

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

Preview Lab → · Contrast checker → · Palette generator →

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