#3F5412#3F5412

#3F5412 is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.4% C 0.093 H 125.8°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#3F5412
RGBrgb(63, 84, 18)
HSLhsl(79, 65%, 20%)
HSVhsv(79, 79%, 33%)
CMYKcmyk(25%, 0%, 78.6%, 67.1%)
CIE-LABlab(32.79, -18.93, 33.87)
CIE-LCHlch(32.79, 38.80, 119.20°)
OKLaboklab(41.42% -0.0546 0.0757)
OKLCHoklch(41.42% 0.093 125.8)
XYZxyz(5.3294, 7.4410, 1.7276)
Luminance0.0744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5412 #271254
analogous
#544812 #3F5412 #1E5412
triadic
#3F5412 #123F54 #54123F
tetradic
#3F5412 #125448 #271254 #54121E
square
#3F5412 #125448 #271254 #54121E
split-complementary
#3F5412 #121E54 #481254
monochromatic
#131905 #192207 #3F5412 #65861D #8BB928

Accessibility & contrast

On white

8.44
#3F5412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3F5412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5412
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5412#FFFFFF#000000##FFFFFF
##3F54121.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E06
Deuteranopia (green-blind)
#564D18
Tritanopia (blue-blind)
#425047
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3f5412;
/* rgb */ color: rgb(63, 84, 18);
/* oklch */ color: oklch(41.4% 0.093 125.8);
Tailwind
colors: {
  custom: {
    50: '#778455',
    500: '#3f5412',
    950: '#000000',
  },
}
SCSS
$custom: #3f5412;
$custom-light: #778455;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5412",
  "rgb": {
    "r": 63,
    "g": 84,
    "b": 18
  },
  "hsl": {
    "h": 79.091,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.41418,
    "c": 0.09333,
    "h": 125.8
  },
  "luminance": 0.07441
}

Semantic roles & 50–950 ramp

primary
#3F5412
secondary
#51358D
accent
#40E875
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3F5412

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

Preview Lab → · Contrast checker → · Palette generator →

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