#3F5213#3F5213

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

Color values

HEX#3F5213
RGBrgb(63, 82, 19)
HSLhsl(78, 62%, 20%)
HSVhsv(78, 77%, 32%)
CMYKcmyk(23.2%, 0%, 76.8%, 67.8%)
CIE-LABlab(32.12, -17.79, 32.78)
CIE-LCHlch(32.12, 37.29, 118.48°)
OKLaboklab(40.88% -0.0514 0.0736)
OKLCHoklch(40.88% 0.09 124.9)
XYZxyz(5.1848, 7.1383, 1.7206)
Luminance0.0714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5213 #261352
analogous
#524513 #3F5213 #205213
triadic
#3F5213 #133F52 #52133F
tetradic
#3F5213 #135245 #261352 #521320
square
#3F5213 #135245 #261352 #521320
split-complementary
#3F5213 #132052 #451352
monochromatic
#131906 #192007 #3F5213 #65841F #8BB52A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F5213#FFFFFF#000000##FFFFFF
##3F52131.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)
#574C09
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#424E46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f5213;
/* rgb */ color: rgb(63, 82, 19);
/* oklch */ color: oklch(40.9% 0.090 124.9);
Tailwind
colors: {
  custom: {
    50: '#768255',
    500: '#3f5213',
    950: '#000000',
  },
}
SCSS
$custom: #3f5213;
$custom-light: #768255;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5213",
  "rgb": {
    "r": 63,
    "g": 82,
    "b": 19
  },
  "hsl": {
    "h": 78.095,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40877,
    "c": 0.08974,
    "h": 124.9
  },
  "luminance": 0.07138
}

Semantic roles & 50–950 ramp

primary
#3F5213
secondary
#50368A
accent
#42E574
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3F5213

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

Preview Lab → · Contrast checker → · Palette generator →

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