#3F5515#3F5515

#3F5515 is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.7% C 0.093 H 126.6°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#3F5515
RGBrgb(63, 85, 21)
HSLhsl(81, 60%, 21%)
HSVhsv(81, 75%, 33%)
CMYKcmyk(25.9%, 0%, 75.3%, 66.7%)
CIE-LABlab(33.15, -19.25, 32.95)
CIE-LCHlch(33.15, 38.16, 120.29°)
OKLaboklab(41.72% -0.0552 0.0743)
OKLCHoklch(41.72% 0.093 126.6)
XYZxyz(5.4338, 7.6078, 1.8915)
Luminance0.0761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5515 #2B1555
analogous
#554B15 #3F5515 #1F5515
triadic
#3F5515 #153F55 #55153F
tetradic
#3F5515 #15554B #2B1555 #55151F
square
#3F5515 #15554B #2B1555 #55151F
split-complementary
#3F5515 #151F55 #4B1555
monochromatic
#121906 #1B2409 #3F5515 #638621 #88B72D

Accessibility & contrast

On white

8.33
#3F5515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3F5515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5515
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5515#FFFFFF#000000##FFFFFF
##3F55151.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0B
Deuteranopia (green-blind)
#574E1A
Tritanopia (blue-blind)
#425148
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3f5515;
/* rgb */ color: rgb(63, 85, 21);
/* oklch */ color: oklch(41.7% 0.093 126.6);
Tailwind
colors: {
  custom: {
    50: '#768557',
    500: '#3f5515',
    950: '#000000',
  },
}
SCSS
$custom: #3f5515;
$custom-light: #768557;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5515",
  "rgb": {
    "r": 63,
    "g": 85,
    "b": 21
  },
  "hsl": {
    "h": 80.625,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41718,
    "c": 0.09254,
    "h": 126.6
  },
  "luminance": 0.07608
}

Semantic roles & 50–950 ramp

primary
#3F5515
secondary
#56398D
accent
#44E47B
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3F5515

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

Preview Lab → · Contrast checker → · Palette generator →

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