#3D510F#3D510F

#3D510F is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.4% C 0.092 H 125.4°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#3D510F
RGBrgb(61, 81, 15)
HSLhsl(78, 69%, 19%)
HSVhsv(78, 81%, 32%)
CMYKcmyk(24.7%, 0%, 81.5%, 68.2%)
CIE-LABlab(31.60, -18.43, 33.87)
CIE-LCHlch(31.60, 38.56, 118.55°)
OKLaboklab(40.41% -0.0534 0.0752)
OKLCHoklch(40.41% 0.092 125.4)
XYZxyz(4.9532, 6.9114, 1.5249)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D510F #230F51
analogous
#51440F #3D510F #1C510F
triadic
#3D510F #0F3D51 #510F3D
tetradic
#3D510F #0F5144 #230F51 #510F1C
square
#3D510F #0F5144 #230F51 #510F1C
split-complementary
#3D510F #0F1C51 #440F51
monochromatic
#131A05 #161D05 #3D510F #648519 #8BB822

Accessibility & contrast

On white

8.82
#3D510F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3D510F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D510F
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D510F#FFFFFF#000000##FFFFFF
##3D510F1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B03
Deuteranopia (green-blind)
#534A15
Tritanopia (blue-blind)
#404D44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3d510f;
/* rgb */ color: rgb(61, 81, 15);
/* oklch */ color: oklch(40.4% 0.092 125.4);
Tailwind
colors: {
  custom: {
    50: '#758253',
    500: '#3d510f',
    950: '#000000',
  },
}
SCSS
$custom: #3d510f;
$custom-light: #758253;
$custom-dark: #000000;
JSON
{
  "hex": "#3d510f",
  "rgb": {
    "r": 61,
    "g": 81,
    "b": 15
  },
  "hsl": {
    "h": 78.182,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.40413,
    "c": 0.09222,
    "h": 125.4
  },
  "luminance": 0.06911
}

Semantic roles & 50–950 ramp

primary
#3D510F
secondary
#4C318B
accent
#3CEC71
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3D510F

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

Preview Lab → · Contrast checker → · Palette generator →

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