#3D5312#3D5312

#3D5312 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 41.0% C 0.093 H 126.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#3D5312
RGBrgb(61, 83, 18)
HSLhsl(80, 64%, 20%)
HSVhsv(80, 78%, 33%)
CMYKcmyk(26.5%, 0%, 78.3%, 67.5%)
CIE-LABlab(32.31, -19.30, 33.34)
CIE-LCHlch(32.31, 38.52, 120.07°)
OKLaboklab(40.99% -0.0555 0.0746)
OKLCHoklch(40.99% 0.093 126.6)
XYZxyz(5.1269, 7.2222, 1.6961)
Luminance0.0722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5312 #281253
analogous
#534912 #3D5312 #1C5312
triadic
#3D5312 #123D53 #53123D
tetradic
#3D5312 #125349 #281253 #53121C
square
#3D5312 #125349 #281253 #53121C
split-complementary
#3D5312 #121C53 #491253
monochromatic
#121905 #182107 #3D5312 #62851D #87B828

Accessibility & contrast

On white

8.59
#3D5312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3D5312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D5312
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5312#FFFFFF#000000##FFFFFF
##3D53121.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D07
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#404F46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3d5312;
/* rgb */ color: rgb(61, 83, 18);
/* oklch */ color: oklch(41.0% 0.093 126.6);
Tailwind
colors: {
  custom: {
    50: '#758355',
    500: '#3d5312',
    950: '#000000',
  },
}
SCSS
$custom: #3d5312;
$custom-light: #758355;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5312",
  "rgb": {
    "r": 61,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 80.308,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40989,
    "c": 0.093,
    "h": 126.6
  },
  "luminance": 0.07222
}

Semantic roles & 50–950 ramp

primary
#3D5312
secondary
#52358C
accent
#40E779
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3D5312

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

Preview Lab → · Contrast checker → · Palette generator →

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