#3F540F#3F540F

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

Color values

HEX#3F540F
RGBrgb(63, 84, 15)
HSLhsl(78, 70%, 19%)
HSVhsv(78, 82%, 33%)
CMYKcmyk(25%, 0%, 82.1%, 67.1%)
CIE-LABlab(32.77, -19.12, 35.03)
CIE-LCHlch(32.77, 39.91, 118.62°)
OKLaboklab(41.4% -0.0554 0.0776)
OKLCHoklch(41.4% 0.095 125.5)
XYZxyz(5.3065, 7.4318, 1.6068)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F540F #240F54
analogous
#54470F #3F540F #1D540F
triadic
#3F540F #0F3F54 #540F3F
tetradic
#3F540F #0F5447 #240F54 #540F1D
square
#3F540F #0F5447 #240F54 #540F1D
split-complementary
#3F540F #0F1D54 #470F54
monochromatic
#131A05 #182006 #3F540F #668818 #8DBC22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F540F#FFFFFF#000000##FFFFFF
##3F540F1.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)
#594E02
Deuteranopia (green-blind)
#564D16
Tritanopia (blue-blind)
#425047
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3f540f;
/* rgb */ color: rgb(63, 84, 15);
/* oklch */ color: oklch(41.4% 0.095 125.5);
Tailwind
colors: {
  custom: {
    50: '#778454',
    500: '#3f540f',
    950: '#000000',
  },
}
SCSS
$custom: #3f540f;
$custom-light: #778454;
$custom-dark: #000000;
JSON
{
  "hex": "#3f540f",
  "rgb": {
    "r": 63,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 78.261,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.41395,
    "c": 0.09534,
    "h": 125.5
  },
  "luminance": 0.07432
}

Semantic roles & 50–950 ramp

primary
#3F540F
secondary
#4D318E
accent
#3BED71
background
#F7F8F5
surface
#EDEFE8
border
#C8CAC4
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3F540F

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

Preview Lab → · Contrast checker → · Palette generator →

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