#3F5215#3F5215

#3F5215 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.9% C 0.088 H 125.2°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#3F5215
RGBrgb(63, 82, 21)
HSLhsl(79, 59%, 20%)
HSVhsv(79, 74%, 32%)
CMYKcmyk(23.2%, 0%, 74.4%, 67.8%)
CIE-LABlab(32.14, -17.64, 31.91)
CIE-LCHlch(32.14, 36.46, 118.93°)
OKLaboklab(40.89% -0.0508 0.0721)
OKLCHoklch(40.89% 0.088 125.2)
XYZxyz(5.2026, 7.1454, 1.8144)
Luminance0.0714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5215 #281552
analogous
#524715 #3F5215 #205215
triadic
#3F5215 #153F52 #52153F
tetradic
#3F5215 #155247 #281552 #521520
square
#3F5215 #155247 #281552 #521520
split-complementary
#3F5215 #152052 #471552
monochromatic
#131806 #1A2109 #3F5215 #648321 #8AB32E

Accessibility & contrast

On white

8.65
#3F5215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3F5215 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5215
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5215#FFFFFF#000000##FFFFFF
##3F52151.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C0C
Deuteranopia (green-blind)
#544B1A
Tritanopia (blue-blind)
#424E46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f5215;
/* rgb */ color: rgb(63, 82, 21);
/* oklch */ color: oklch(40.9% 0.088 125.2);
Tailwind
colors: {
  custom: {
    50: '#768256',
    500: '#3f5215',
    950: '#000000',
  },
}
SCSS
$custom: #3f5215;
$custom-light: #768256;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5215",
  "rgb": {
    "r": 63,
    "g": 82,
    "b": 21
  },
  "hsl": {
    "h": 78.689,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40895,
    "c": 0.08818,
    "h": 125.2
  },
  "luminance": 0.07145
}

Semantic roles & 50–950 ramp

primary
#3F5215
secondary
#52398A
accent
#45E276
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3F5215

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

Preview Lab → · Contrast checker → · Palette generator →

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