#3F5915#3F5915

#3F5915 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.8% C 0.098 H 128.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#3F5915
RGBrgb(63, 89, 21)
HSLhsl(83, 62%, 22%)
HSVhsv(83, 76%, 35%)
CMYKcmyk(29.2%, 0%, 76.4%, 65.1%)
CIE-LABlab(34.51, -21.34, 34.32)
CIE-LCHlch(34.51, 40.42, 121.88°)
OKLaboklab(42.82% -0.0609 0.0772)
OKLCHoklch(42.82% 0.098 128.3)
XYZxyz(5.7576, 8.2555, 1.9995)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5915 #2F1559
analogous
#595115 #3F5915 #1D5915
triadic
#3F5915 #153F59 #59153F
tetradic
#3F5915 #155951 #2F1559 #59151D
square
#3F5915 #155951 #2F1559 #59151D
split-complementary
#3F5915 #151D59 #511559
monochromatic
#121906 #1C2709 #3F5915 #628B21 #85BC2C

Accessibility & contrast

On white

7.92
#3F5915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3F5915 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5915
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5915#FFFFFF#000000##FFFFFF
##3F59151.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E520A
Deuteranopia (green-blind)
#5A511B
Tritanopia (blue-blind)
#41554C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3f5915;
/* rgb */ color: rgb(63, 89, 21);
/* oklch */ color: oklch(42.8% 0.098 128.3);
Tailwind
colors: {
  custom: {
    50: '#778857',
    500: '#3f5915',
    950: '#000000',
  },
}
SCSS
$custom: #3f5915;
$custom-light: #778857;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5915",
  "rgb": {
    "r": 63,
    "g": 89,
    "b": 21
  },
  "hsl": {
    "h": 82.941,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42819,
    "c": 0.09832,
    "h": 128.3
  },
  "luminance": 0.08256
}

Semantic roles & 50–950 ramp

primary
#3F5915
secondary
#5B3991
accent
#43E581
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3F5915

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

Preview Lab → · Contrast checker → · Palette generator →

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