#4A3F12#4A3F12

#4A3F12 is a dark, moderate yellow. Relative luminance 0.051; OKLCH L 36.9% C 0.064 H 95.2°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#4A3F12
RGBrgb(74, 63, 18)
HSLhsl(48, 61%, 18%)
HSVhsv(48, 76%, 29%)
CMYKcmyk(0%, 14.9%, 75.7%, 71%)
CIE-LABlab(26.89, -1.21, 28.24)
CIE-LCHlch(26.89, 28.27, 92.45°)
OKLaboklab(36.94% -0.0058 0.0635)
OKLCHoklch(36.94% 0.064 95.2)
XYZxyz(4.7110, 5.0548, 1.2997)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3F12 #121D4A
analogous
#4A2312 #4A3F12 #394A12
triadic
#4A3F12 #124A3F #3F124A
tetradic
#4A3F12 #124A23 #121D4A #4A1239
square
#4A3F12 #124A23 #121D4A #4A1239
split-complementary
#4A3F12 #12394A #23124A
monochromatic
#191506 #191506 #4A3F12 #7B691E #AC932A

Accessibility & contrast

On white

10.44
#4A3F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A3F12
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3F12#FFFFFF#000000##FFFFFF
##4A3F121.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E0C
Deuteranopia (green-blind)
#494114
Tritanopia (blue-blind)
#503A36
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a3f12;
/* rgb */ color: rgb(74, 63, 18);
/* oklch */ color: oklch(36.9% 0.064 95.2);
Tailwind
colors: {
  custom: {
    50: '#7f7353',
    500: '#4a3f12',
    950: '#000000',
  },
}
SCSS
$custom: #4a3f12;
$custom-light: #7f7353;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3f12",
  "rgb": {
    "r": 74,
    "g": 63,
    "b": 18
  },
  "hsl": {
    "h": 48.214,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36936,
    "c": 0.06375,
    "h": 95.2
  },
  "luminance": 0.05055
}

Semantic roles & 50–950 ramp

primary
#4A3F12
secondary
#354483
accent
#63E444
background
#F7F6F4
surface
#EEECE7
border
#C9C7C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4A3F12

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

Preview Lab → · Contrast checker → · Palette generator →

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