#3F5817#3F5817

#3F5817 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.6% C 0.095 H 128.2°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#3F5817
RGBrgb(63, 88, 23)
HSLhsl(83, 59%, 22%)
HSVhsv(83, 74%, 35%)
CMYKcmyk(28.4%, 0%, 73.9%, 65.5%)
CIE-LABlab(34.19, -20.67, 33.12)
CIE-LCHlch(34.19, 39.04, 121.97°)
OKLaboklab(42.56% -0.0589 0.075)
OKLCHoklch(42.56% 0.095 128.2)
XYZxyz(5.6943, 8.0979, 2.0735)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5817 #301758
analogous
#585117 #3F5817 #1F5817
triadic
#3F5817 #173F58 #58173F
tetradic
#3F5817 #175851 #301758 #58171F
square
#3F5817 #175851 #301758 #58171F
split-complementary
#3F5817 #171F58 #511758
monochromatic
#111806 #1C270A #3F5817 #628924 #84B930

Accessibility & contrast

On white

8.02
#3F5817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3F5817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5817
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5817#FFFFFF#000000##FFFFFF
##3F58171.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D510D
Deuteranopia (green-blind)
#59501C
Tritanopia (blue-blind)
#41544B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3f5817;
/* rgb */ color: rgb(63, 88, 23);
/* oklch */ color: oklch(42.6% 0.095 128.2);
Tailwind
colors: {
  custom: {
    50: '#768758',
    500: '#3f5817',
    950: '#000000',
  },
}
SCSS
$custom: #3f5817;
$custom-light: #768758;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5817",
  "rgb": {
    "r": 63,
    "g": 88,
    "b": 23
  },
  "hsl": {
    "h": 83.077,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42562,
    "c": 0.09535,
    "h": 128.2
  },
  "luminance": 0.08098
}

Semantic roles & 50–950 ramp

primary
#3F5817
secondary
#5C3C8F
accent
#46E282
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3F5817

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

Preview Lab → · Contrast checker → · Palette generator →

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