#3F5812#3F5812

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

Color values

HEX#3F5812
RGBrgb(63, 88, 18)
HSLhsl(81, 66%, 21%)
HSVhsv(81, 80%, 35%)
CMYKcmyk(28.4%, 0%, 79.5%, 65.5%)
CIE-LABlab(34.15, -21.03, 35.19)
CIE-LCHlch(34.15, 41.00, 120.86°)
OKLaboklab(42.52% -0.0604 0.0785)
OKLCHoklch(42.52% 0.099 127.6)
XYZxyz(5.6488, 8.0798, 1.8341)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5812 #2B1258
analogous
#584E12 #3F5812 #1C5812
triadic
#3F5812 #123F58 #58123F
tetradic
#3F5812 #12584E #2B1258 #58121C
square
#3F5812 #12584E #2B1258 #58121C
split-complementary
#3F5812 #121C58 #4E1258
monochromatic
#121905 #1B2508 #3F5812 #638B1C #88BE27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F5812#FFFFFF#000000##FFFFFF
##3F58121.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)
#5D5105
Deuteranopia (green-blind)
#595019
Tritanopia (blue-blind)
#42544B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3f5812;
/* rgb */ color: rgb(63, 88, 18);
/* oklch */ color: oklch(42.5% 0.099 127.6);
Tailwind
colors: {
  custom: {
    50: '#778756',
    500: '#3f5812',
    950: '#000000',
  },
}
SCSS
$custom: #3f5812;
$custom-light: #778756;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5812",
  "rgb": {
    "r": 63,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 81.429,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42519,
    "c": 0.099,
    "h": 127.6
  },
  "luminance": 0.0808
}

Semantic roles & 50–950 ramp

primary
#3F5812
secondary
#563591
accent
#3FE97C
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3F5812

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

Preview Lab → · Contrast checker → · Palette generator →

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