#3F5612#3F5612

#3F5612 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 42.0% C 0.096 H 126.7°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#3F5612
RGBrgb(63, 86, 18)
HSLhsl(80, 65%, 20%)
HSVhsv(80, 79%, 34%)
CMYKcmyk(26.7%, 0%, 79.1%, 66.3%)
CIE-LABlab(33.47, -19.99, 34.53)
CIE-LCHlch(33.47, 39.90, 120.06°)
OKLaboklab(41.97% -0.0575 0.0771)
OKLCHoklch(41.97% 0.096 126.7)
XYZxyz(5.4869, 7.7559, 1.7801)
Luminance0.0776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5612 #291256
analogous
#564B12 #3F5612 #1D5612
triadic
#3F5612 #123F56 #56123F
tetradic
#3F5612 #12564B #291256 #56121D
square
#3F5612 #12564B #291256 #56121D
split-complementary
#3F5612 #121D56 #4B1256
monochromatic
#131905 #1A2307 #3F5612 #64891D #89BB27

Accessibility & contrast

On white

8.23
#3F5612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3F5612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5612
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5612#FFFFFF#000000##FFFFFF
##3F56121.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5006
Deuteranopia (green-blind)
#584E18
Tritanopia (blue-blind)
#425249
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3f5612;
/* rgb */ color: rgb(63, 86, 18);
/* oklch */ color: oklch(42.0% 0.096 126.7);
Tailwind
colors: {
  custom: {
    50: '#778555',
    500: '#3f5612',
    950: '#000000',
  },
}
SCSS
$custom: #3f5612;
$custom-light: #778555;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5612",
  "rgb": {
    "r": 63,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 80.294,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41968,
    "c": 0.09617,
    "h": 126.7
  },
  "luminance": 0.07756
}

Semantic roles & 50–950 ramp

primary
#3F5612
secondary
#53358F
accent
#3FE879
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3F5612

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

Preview Lab → · Contrast checker → · Palette generator →

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