#3F5811#3F5811

#3F5811 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.5% C 0.100 H 127.5°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#3F5811
RGBrgb(63, 88, 17)
HSLhsl(81, 68%, 21%)
HSVhsv(81, 81%, 35%)
CMYKcmyk(28.4%, 0%, 80.7%, 65.5%)
CIE-LABlab(34.14, -21.10, 35.58)
CIE-LCHlch(34.14, 41.36, 120.67°)
OKLaboklab(42.51% -0.0606 0.0791)
OKLCHoklch(42.51% 0.1 127.5)
XYZxyz(5.6408, 8.0766, 1.7919)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5811 #2A1158
analogous
#584D11 #3F5811 #1B5811
triadic
#3F5811 #113F58 #58113F
tetradic
#3F5811 #11584D #2A1158 #58111B
square
#3F5811 #11584D #2A1158 #58111B
split-complementary
#3F5811 #111B58 #4D1158
monochromatic
#121A05 #1A2507 #3F5811 #648B1B #88BF25

Accessibility & contrast

On white

8.03
#3F5811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3F5811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5811
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5811#FFFFFF#000000##FFFFFF
##3F58111.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5103
Deuteranopia (green-blind)
#595018
Tritanopia (blue-blind)
#42544A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3f5811;
/* rgb */ color: rgb(63, 88, 17);
/* oklch */ color: oklch(42.5% 0.100 127.5);
Tailwind
colors: {
  custom: {
    50: '#778755',
    500: '#3f5811',
    950: '#000000',
  },
}
SCSS
$custom: #3f5811;
$custom-light: #778755;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5811",
  "rgb": {
    "r": 63,
    "g": 88,
    "b": 17
  },
  "hsl": {
    "h": 81.127,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42512,
    "c": 0.09966,
    "h": 127.5
  },
  "luminance": 0.08077
}

Semantic roles & 50–950 ramp

primary
#3F5811
secondary
#553491
accent
#3DEA7A
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3F5811

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

Preview Lab → · Contrast checker → · Palette generator →

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