#3D4008#3D4008

#3D4008 is a dark, moderate yellow. Relative luminance 0.047; OKLCH L 35.7% C 0.074 H 112.8°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#3D4008
RGBrgb(61, 64, 8)
HSLhsl(63, 78%, 14%)
HSVhsv(63, 88%, 25%)
CMYKcmyk(4.7%, 0%, 87.5%, 74.9%)
CIE-LABlab(25.79, -9.14, 31.14)
CIE-LCHlch(25.79, 32.45, 106.37°)
OKLaboklab(35.72% -0.0285 0.068)
OKLCHoklch(35.72% 0.074 112.8)
XYZxyz(3.8018, 4.6765, 0.9321)
Luminance0.0468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4008 #0B0840
analogous
#402708 #3D4008 #214008
triadic
#3D4008 #083D40 #40083D
tetradic
#3D4008 #084027 #0B0840 #400821
square
#3D4008 #084027 #0B0840 #400821
split-complementary
#3D4008 #082140 #270840
monochromatic
#1A1B03 #1A1B03 #3D4008 #71760F #A5AD16

Accessibility & contrast

On white

10.85
#3D4008 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3D4008 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4008
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4008#FFFFFF#000000##FFFFFF
##3D40081.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463C00
Deuteranopia (green-blind)
#463E0D
Tritanopia (blue-blind)
#423B36
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3d4008;
/* rgb */ color: rgb(61, 64, 8);
/* oklch */ color: oklch(35.7% 0.074 112.8);
Tailwind
colors: {
  custom: {
    50: '#75744d',
    500: '#3d4008',
    950: '#000000',
  },
}
SCSS
$custom: #3d4008;
$custom-light: #75744d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4008",
  "rgb": {
    "r": 61,
    "g": 64,
    "b": 8
  },
  "hsl": {
    "h": 63.214,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.35715,
    "c": 0.07375,
    "h": 112.8
  },
  "luminance": 0.04676
}

Semantic roles & 50–950 ramp

primary
#3D4008
secondary
#2A257E
accent
#34F43E
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080801
muted
#7B7B77

Preview Lab

Preview with #3D4008

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

Preview Lab → · Contrast checker → · Palette generator →

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