#3D4805#3D4805

#3D4805 is a dark, moderate yellow. Relative luminance 0.056; OKLCH L 37.9% C 0.086 H 119.4°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#3D4805
RGBrgb(61, 72, 5)
HSLhsl(70, 87%, 15%)
HSVhsv(70, 93%, 28%)
CMYKcmyk(15.3%, 0%, 93.1%, 71.8%)
CIE-LABlab(28.48, -13.99, 34.71)
CIE-LCHlch(28.48, 37.42, 111.95°)
OKLaboklab(37.87% -0.0421 0.0749)
OKLCHoklch(37.87% 0.086 119.4)
XYZxyz(4.2693, 5.6378, 1.0068)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4805 #100548
analogous
#483205 #3D4805 #1B4805
triadic
#3D4805 #053D48 #48053D
tetradic
#3D4805 #054832 #100548 #48051B
square
#3D4805 #054832 #100548 #48051B
split-complementary
#3D4805 #051B48 #320548
monochromatic
#181D02 #181D02 #3D4805 #6D8109 #9EBA0D

Accessibility & contrast

On white

9.87
#3D4805 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3D4805 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4805
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4805#FFFFFF#000000##FFFFFF
##3D48051.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4300
Deuteranopia (green-blind)
#4C430C
Tritanopia (blue-blind)
#41433C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3d4805;
/* rgb */ color: rgb(61, 72, 5);
/* oklch */ color: oklch(37.9% 0.086 119.4);
Tailwind
colors: {
  custom: {
    50: '#757a4d',
    500: '#3d4805',
    950: '#000000',
  },
}
SCSS
$custom: #3d4805;
$custom-light: #757a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4805",
  "rgb": {
    "r": 61,
    "g": 72,
    "b": 5
  },
  "hsl": {
    "h": 69.851,
    "s": 87.013,
    "l": 15.098
  },
  "oklch": {
    "l": 0.37869,
    "c": 0.08593,
    "h": 119.4
  },
  "luminance": 0.05638
}

Semantic roles & 50–950 ramp

primary
#3D4805
secondary
#322188
accent
#2BFD4D
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090901
muted
#7B7B77

Preview Lab

Preview with #3D4805

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

Preview Lab → · Contrast checker → · Palette generator →

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