#3F5A11#3F5A11

#3F5A11 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 43.1% C 0.102 H 128.2°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#3F5A11
RGBrgb(63, 90, 17)
HSLhsl(82, 68%, 21%)
HSVhsv(82, 81%, 35%)
CMYKcmyk(30%, 0%, 81.1%, 64.7%)
CIE-LABlab(34.82, -22.13, 36.23)
CIE-LCHlch(34.82, 42.45, 121.41°)
OKLaboklab(43.06% -0.0634 0.0805)
OKLCHoklch(43.06% 0.102 128.2)
XYZxyz(5.8072, 8.4094, 1.8474)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5A11 #2C115A
analogous
#5A5011 #3F5A11 #1A5A11
triadic
#3F5A11 #113F5A #5A113F
tetradic
#3F5A11 #115A50 #2C115A #5A111A
square
#3F5A11 #115A50 #2C115A #5A111A
split-complementary
#3F5A11 #111A5A #50115A
monochromatic
#121A05 #1B2707 #3F5A11 #638D1B #87C124

Accessibility & contrast

On white

7.83
#3F5A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3F5A11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5A11
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5A11#FFFFFF#000000##FFFFFF
##3F5A111.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5303
Deuteranopia (green-blind)
#5B5118
Tritanopia (blue-blind)
#41564C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f5a11;
/* rgb */ color: rgb(63, 90, 17);
/* oklch */ color: oklch(43.1% 0.102 128.2);
Tailwind
colors: {
  custom: {
    50: '#778855',
    500: '#3f5a11',
    950: '#000000',
  },
}
SCSS
$custom: #3f5a11;
$custom-light: #778855;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5a11",
  "rgb": {
    "r": 63,
    "g": 90,
    "b": 17
  },
  "hsl": {
    "h": 82.192,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43064,
    "c": 0.10246,
    "h": 128.2
  },
  "luminance": 0.0841
}

Semantic roles & 50–950 ramp

primary
#3F5A11
secondary
#573493
accent
#3DEB7D
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3F5A11

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

Preview Lab → · Contrast checker → · Palette generator →

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