#4C3E12#4C3E12

#4C3E12 is a dark, moderate yellow. Relative luminance 0.050; OKLCH L 36.9% C 0.063 H 91.1°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#4C3E12
RGBrgb(76, 62, 18)
HSLhsl(46, 62%, 18%)
HSVhsv(46, 76%, 30%)
CMYKcmyk(0%, 18.4%, 76.3%, 70.2%)
CIE-LABlab(26.81, 0.46, 28.23)
CIE-LCHlch(26.81, 28.23, 89.07°)
OKLaboklab(36.92% -0.0012 0.0634)
OKLCHoklch(36.92% 0.063 91.1)
XYZxyz(4.8126, 5.0257, 1.2887)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3E12 #12204C
analogous
#4C2112 #4C3E12 #3D4C12
triadic
#4C3E12 #124C3E #3E124C
tetradic
#4C3E12 #124C21 #12204C #4C123D
square
#4C3E12 #124C21 #12204C #4C123D
split-complementary
#4C3E12 #123D4C #21124C
monochromatic
#191406 #1B1606 #4C3E12 #7D661E #AF8F29

Accessibility & contrast

On white

10.47
#4C3E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4C3E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3E12
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3E12#FFFFFF#000000##FFFFFF
##4C3E121.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D0C
Deuteranopia (green-blind)
#494114
Tritanopia (blue-blind)
#533835
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4c3e12;
/* rgb */ color: rgb(76, 62, 18);
/* oklch */ color: oklch(36.9% 0.063 91.1);
Tailwind
colors: {
  custom: {
    50: '#817352',
    500: '#4c3e12',
    950: '#000000',
  },
}
SCSS
$custom: #4c3e12;
$custom-light: #817352;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3e12",
  "rgb": {
    "r": 76,
    "g": 62,
    "b": 18
  },
  "hsl": {
    "h": 45.517,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36924,
    "c": 0.06339,
    "h": 91.1
  },
  "luminance": 0.05025
}

Semantic roles & 50–950 ramp

primary
#4C3E12
secondary
#354885
accent
#6AE543
background
#F8F6F4
surface
#EFECE7
border
#CAC7C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4C3E12

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

Preview Lab → · Contrast checker → · Palette generator →

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