#3D510C#3D510C

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

Color values

HEX#3D510C
RGBrgb(61, 81, 12)
HSLhsl(77, 74%, 18%)
HSVhsv(77, 85%, 32%)
CMYKcmyk(24.7%, 0%, 85.2%, 68.2%)
CIE-LABlab(31.59, -18.60, 34.96)
CIE-LCHlch(31.59, 39.60, 118.01°)
OKLaboklab(40.39% -0.0541 0.0769)
OKLCHoklch(40.39% 0.094 125.1)
XYZxyz(4.9333, 6.9034, 1.4203)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D510C #200C51
analogous
#51420C #3D510C #1A510C
triadic
#3D510C #0C3D51 #510C3D
tetradic
#3D510C #0C5142 #200C51 #510C1A
square
#3D510C #0C5142 #200C51 #510C1A
split-complementary
#3D510C #0C1A51 #420C51
monochromatic
#141B04 #151C04 #3D510C #658614 #8DBC1C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D510C#FFFFFF#000000##FFFFFF
##3D510C1.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)
#564B00
Deuteranopia (green-blind)
#534A13
Tritanopia (blue-blind)
#404D44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3d510c;
/* rgb */ color: rgb(61, 81, 12);
/* oklch */ color: oklch(40.4% 0.094 125.1);
Tailwind
colors: {
  custom: {
    50: '#758252',
    500: '#3d510c',
    950: '#000000',
  },
}
SCSS
$custom: #3d510c;
$custom-light: #758252;
$custom-dark: #000000;
JSON
{
  "hex": "#3d510c",
  "rgb": {
    "r": 61,
    "g": 81,
    "b": 12
  },
  "hsl": {
    "h": 77.391,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.40392,
    "c": 0.09407,
    "h": 125.1
  },
  "luminance": 0.06904
}

Semantic roles & 50–950 ramp

primary
#3D510C
secondary
#482C8C
accent
#37F16D
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090A02
muted
#7B7C78

Preview Lab

Preview with #3D510C

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

Preview Lab → · Contrast checker → · Palette generator →

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