#3D5211#3D5211

#3D5211 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.7% C 0.092 H 126.1°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#3D5211
RGBrgb(61, 82, 17)
HSLhsl(79, 66%, 19%)
HSVhsv(79, 79%, 32%)
CMYKcmyk(25.6%, 0%, 79.3%, 67.8%)
CIE-LABlab(31.96, -18.84, 33.41)
CIE-LCHlch(31.96, 38.36, 119.42°)
OKLaboklab(40.71% -0.0543 0.0746)
OKLCHoklch(40.71% 0.092 126.1)
XYZxyz(5.0430, 7.0671, 1.6286)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5211 #261152
analogous
#524711 #3D5211 #1C5211
triadic
#3D5211 #113D52 #52113D
tetradic
#3D5211 #115247 #261152 #52111C
square
#3D5211 #115247 #261152 #52111C
split-complementary
#3D5211 #111C52 #471152
monochromatic
#131905 #171F06 #3D5211 #63851C #88B726

Accessibility & contrast

On white

8.70
#3D5211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3D5211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D5211
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5211#FFFFFF#000000##FFFFFF
##3D52111.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C05
Deuteranopia (green-blind)
#544B17
Tritanopia (blue-blind)
#404E45
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3d5211;
/* rgb */ color: rgb(61, 82, 17);
/* oklch */ color: oklch(40.7% 0.092 126.1);
Tailwind
colors: {
  custom: {
    50: '#758254',
    500: '#3d5211',
    950: '#000000',
  },
}
SCSS
$custom: #3d5211;
$custom-light: #758254;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5211",
  "rgb": {
    "r": 61,
    "g": 82,
    "b": 17
  },
  "hsl": {
    "h": 79.385,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40705,
    "c": 0.09228,
    "h": 126.1
  },
  "luminance": 0.07067
}

Semantic roles & 50–950 ramp

primary
#3D5211
secondary
#50348B
accent
#3FE976
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3D5211

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

Preview Lab → · Contrast checker → · Palette generator →

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