#3F5315#3F5315

#3F5315 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.2% C 0.090 H 125.7°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#3F5315
RGBrgb(63, 83, 21)
HSLhsl(79, 60%, 20%)
HSVhsv(79, 75%, 33%)
CMYKcmyk(24.1%, 0%, 74.7%, 67.5%)
CIE-LABlab(32.47, -18.18, 32.25)
CIE-LCHlch(32.47, 37.02, 119.40°)
OKLaboklab(41.17% -0.0523 0.0728)
OKLCHoklch(41.17% 0.09 125.7)
XYZxyz(5.2785, 7.2973, 1.8398)
Luminance0.0730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5315 #291553
analogous
#534815 #3F5315 #205315
triadic
#3F5315 #153F53 #53153F
tetradic
#3F5315 #155348 #291553 #531520
square
#3F5315 #155348 #291553 #531520
split-complementary
#3F5315 #152053 #481553
monochromatic
#131806 #1A2209 #3F5315 #648421 #89B52E

Accessibility & contrast

On white

8.54
#3F5315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3F5315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5315
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5315#FFFFFF#000000##FFFFFF
##3F53151.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0C
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#424F47
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f5315;
/* rgb */ color: rgb(63, 83, 21);
/* oklch */ color: oklch(41.2% 0.090 125.7);
Tailwind
colors: {
  custom: {
    50: '#768357',
    500: '#3f5315',
    950: '#000000',
  },
}
SCSS
$custom: #3f5315;
$custom-light: #768357;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5315",
  "rgb": {
    "r": 63,
    "g": 83,
    "b": 21
  },
  "hsl": {
    "h": 79.355,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41169,
    "c": 0.08964,
    "h": 125.7
  },
  "luminance": 0.07297
}

Semantic roles & 50–950 ramp

primary
#3F5315
secondary
#53398B
accent
#45E378
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3F5315

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

Preview Lab → · Contrast checker → · Palette generator →

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