#3F540E#3F540E

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

Color values

HEX#3F540E
RGBrgb(63, 84, 14)
HSLhsl(78, 71%, 19%)
HSVhsv(78, 83%, 33%)
CMYKcmyk(25%, 0%, 83.3%, 67.1%)
CIE-LABlab(32.76, -19.18, 35.40)
CIE-LCHlch(32.76, 40.26, 118.45°)
OKLaboklab(41.39% -0.0556 0.0782)
OKLCHoklch(41.39% 0.096 125.5)
XYZxyz(5.2995, 7.4290, 1.5701)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F540E #230E54
analogous
#54460E #3F540E #1C540E
triadic
#3F540E #0E3F54 #540E3F
tetradic
#3F540E #0E5446 #230E54 #540E1C
square
#3F540E #0E5446 #230E54 #540E1C
split-complementary
#3F540E #0E1C54 #460E54
monochromatic
#141A04 #182005 #3F540E #668817 #8EBD1F

Accessibility & contrast

On white

8.45
#3F540E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F540E
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F540E#FFFFFF#000000##FFFFFF
##3F540E1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f540e;
/* rgb */ color: rgb(63, 84, 14);
/* oklch */ color: oklch(41.4% 0.096 125.5);
Tailwind
colors: {
  custom: {
    50: '#778453',
    500: '#3f540e',
    950: '#000000',
  },
}
SCSS
$custom: #3f540e;
$custom-light: #778453;
$custom-dark: #000000;
JSON
{
  "hex": "#3f540e",
  "rgb": {
    "r": 63,
    "g": 84,
    "b": 14
  },
  "hsl": {
    "h": 78,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.41388,
    "c": 0.09595,
    "h": 125.5
  },
  "luminance": 0.07429
}

Semantic roles & 50–950 ramp

primary
#3F540E
secondary
#4C2F8E
accent
#3AEE70
background
#F7F8F4
surface
#EDEFE7
border
#C8CAC3
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3F540E

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

Preview Lab → · Contrast checker → · Palette generator →

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