#4D3F12#4D3F12

#4D3F12 is a dark, moderate yellow. Relative luminance 0.052; OKLCH L 37.3% C 0.064 H 91.4°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#4D3F12
RGBrgb(77, 63, 18)
HSLhsl(46, 62%, 19%)
HSVhsv(46, 77%, 30%)
CMYKcmyk(0%, 18.2%, 76.6%, 69.8%)
CIE-LABlab(27.23, 0.34, 28.70)
CIE-LCHlch(27.23, 28.70, 89.32°)
OKLaboklab(37.29% -0.0016 0.0643)
OKLCHoklch(37.29% 0.064 91.4)
XYZxyz(4.9475, 5.1768, 1.3108)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3F12 #12204D
analogous
#4D2112 #4D3F12 #3D4D12
triadic
#4D3F12 #124D3F #3F124D
tetradic
#4D3F12 #124D21 #12204D #4D123D
square
#4D3F12 #124D21 #12204D #4D123D
split-complementary
#4D3F12 #123D4D #21124D
monochromatic
#191406 #1B1606 #4D3F12 #7F681E #B09029

Accessibility & contrast

On white

10.32
#4D3F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4D3F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3F12
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3F12#FFFFFF#000000##FFFFFF
##4D3F121.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E0C
Deuteranopia (green-blind)
#4A4214
Tritanopia (blue-blind)
#543936
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4d3f12;
/* rgb */ color: rgb(77, 63, 18);
/* oklch */ color: oklch(37.3% 0.064 91.4);
Tailwind
colors: {
  custom: {
    50: '#817353',
    500: '#4d3f12',
    950: '#000000',
  },
}
SCSS
$custom: #4d3f12;
$custom-light: #817353;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3f12",
  "rgb": {
    "r": 77,
    "g": 63,
    "b": 18
  },
  "hsl": {
    "h": 45.763,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37286,
    "c": 0.06436,
    "h": 91.4
  },
  "luminance": 0.05176
}

Semantic roles & 50–950 ramp

primary
#4D3F12
secondary
#354886
accent
#69E543
background
#F8F6F4
surface
#EFECE7
border
#CAC7C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4D3F12

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

Preview Lab → · Contrast checker → · Palette generator →

#4D3F12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva