#3F5517#3F5517

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

Color values

HEX#3F5517
RGBrgb(63, 85, 23)
HSLhsl(81, 57%, 21%)
HSVhsv(81, 73%, 33%)
CMYKcmyk(25.9%, 0%, 72.9%, 66.7%)
CIE-LABlab(33.17, -19.09, 32.06)
CIE-LCHlch(33.17, 37.32, 120.77°)
OKLaboklab(41.74% -0.0546 0.0728)
OKLCHoklch(41.74% 0.091 126.9)
XYZxyz(5.4531, 7.6155, 1.9931)
Luminance0.0762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5517 #2D1755
analogous
#554C17 #3F5517 #205517
triadic
#3F5517 #173F55 #55173F
tetradic
#3F5517 #17554C #2D1755 #551720
square
#3F5517 #17554C #2D1755 #551720
split-complementary
#3F5517 #172055 #4C1755
monochromatic
#121807 #1B250A #3F5517 #638524 #86B531

Accessibility & contrast

On white

8.32
#3F5517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F5517
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5517#FFFFFF#000000##FFFFFF
##3F55171.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f5517;
/* rgb */ color: rgb(63, 85, 23);
/* oklch */ color: oklch(41.7% 0.091 126.9);
Tailwind
colors: {
  custom: {
    50: '#768558',
    500: '#3f5517',
    950: '#000000',
  },
}
SCSS
$custom: #3f5517;
$custom-light: #768558;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5517",
  "rgb": {
    "r": 63,
    "g": 85,
    "b": 23
  },
  "hsl": {
    "h": 81.29,
    "s": 57.407,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41737,
    "c": 0.09095,
    "h": 126.9
  },
  "luminance": 0.07616
}

Semantic roles & 50–950 ramp

primary
#3F5517
secondary
#583C8C
accent
#47E17E
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3F5517

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

Preview Lab → · Contrast checker → · Palette generator →

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