#3D511F#3D511F

#3D511F is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.6% C 0.078 H 127.7°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#3D511F
RGBrgb(61, 81, 31)
HSLhsl(84, 45%, 22%)
HSVhsv(84, 62%, 32%)
CMYKcmyk(24.7%, 0%, 61.7%, 68.2%)
CIE-LABlab(31.75, -17.06, 26.46)
CIE-LCHlch(31.75, 31.49, 122.81°)
OKLaboklab(40.58% -0.048 0.062)
OKLCHoklch(40.58% 0.078 127.7)
XYZxyz(5.1142, 6.9758, 2.3731)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D511F #331F51
analogous
#514C1F #3D511F #24511F
triadic
#3D511F #1F3D51 #511F3D
tetradic
#3D511F #1F514C #331F51 #511F24
square
#3D511F #1F514C #331F51 #511F24
split-complementary
#3D511F #1F2451 #4C1F51
monochromatic
#111608 #1C250E #3D511F #5E7D30 #80AA41

Accessibility & contrast

On white

8.77
#3D511F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3D511F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D511F
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D511F#FFFFFF#000000##FFFFFF
##3D511F1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C1A
Deuteranopia (green-blind)
#524A22
Tritanopia (blue-blind)
#3F4D46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3d511f;
/* rgb */ color: rgb(61, 81, 31);
/* oklch */ color: oklch(40.6% 0.078 127.7);
Tailwind
colors: {
  custom: {
    50: '#74825c',
    500: '#3d511f',
    950: '#000000',
  },
}
SCSS
$custom: #3d511f;
$custom-light: #74825c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d511f",
  "rgb": {
    "r": 61,
    "g": 81,
    "b": 31
  },
  "hsl": {
    "h": 84,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.40579,
    "c": 0.07843,
    "h": 127.7
  },
  "luminance": 0.06976
}

Semantic roles & 50–950 ramp

primary
#3D511F
secondary
#604686
accent
#53D487
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A04
muted
#7B7C79

Preview Lab

Preview with #3D511F

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

Preview Lab → · Contrast checker → · Palette generator →

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