#4A4312#4A4312

#4A4312 is a dark, moderate yellow. Relative luminance 0.055; OKLCH L 37.9% C 0.067 H 101.1°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#4A4312
RGBrgb(74, 67, 18)
HSLhsl(53, 61%, 18%)
HSVhsv(53, 76%, 29%)
CMYKcmyk(0%, 9.5%, 75.7%, 71%)
CIE-LABlab(28.15, -3.71, 29.54)
CIE-LCHlch(28.15, 29.77, 97.15°)
OKLaboklab(37.94% -0.0129 0.0662)
OKLCHoklch(37.94% 0.067 101.1)
XYZxyz(4.9406, 5.5140, 1.3762)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4312 #12194A
analogous
#4A2712 #4A4312 #354A12
triadic
#4A4312 #124A43 #43124A
tetradic
#4A4312 #124A27 #12194A #4A1235
square
#4A4312 #124A27 #12194A #4A1235
split-complementary
#4A4312 #12354A #27124A
monochromatic
#191606 #191606 #4A4312 #7B701E #AC9C2A

Accessibility & contrast

On white

9.99
#4A4312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4A4312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4312
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4312#FFFFFF#000000##FFFFFF
##4A43121.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A410B
Deuteranopia (green-blind)
#4C4415
Tritanopia (blue-blind)
#503E39
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4a4312;
/* rgb */ color: rgb(74, 67, 18);
/* oklch */ color: oklch(37.9% 0.067 101.1);
Tailwind
colors: {
  custom: {
    50: '#7f7653',
    500: '#4a4312',
    950: '#000000',
  },
}
SCSS
$custom: #4a4312;
$custom-light: #7f7653;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4312",
  "rgb": {
    "r": 74,
    "g": 67,
    "b": 18
  },
  "hsl": {
    "h": 52.5,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37935,
    "c": 0.06747,
    "h": 101.1
  },
  "luminance": 0.05514
}

Semantic roles & 50–950 ramp

primary
#4A4312
secondary
#353F83
accent
#58E444
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4A4312

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

Preview Lab → · Contrast checker → · Palette generator →

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