#4A3F0C#4A3F0C

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

Color values

HEX#4A3F0C
RGBrgb(74, 63, 12)
HSLhsl(49, 72%, 17%)
HSVhsv(49, 84%, 29%)
CMYKcmyk(0%, 14.9%, 83.8%, 71%)
CIE-LABlab(26.84, -1.56, 30.97)
CIE-LCHlch(26.84, 31.01, 92.88°)
OKLaboklab(36.88% -0.0076 0.068)
OKLCHoklch(36.88% 0.068 96.4)
XYZxyz(4.6682, 5.0377, 1.0742)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3F0C #0C174A
analogous
#4A200C #4A3F0C #364A0C
triadic
#4A3F0C #0C4A3F #3F0C4A
tetradic
#4A3F0C #0C4A20 #0C174A #4A0C36
square
#4A3F0C #0C4A20 #0C174A #4A0C36
split-complementary
#4A3F0C #0C364A #200C4A
monochromatic
#1A1604 #1A1604 #4A3F0C #7F6C15 #B3991D

Accessibility & contrast

On white

10.46
#4A3F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A3F0C
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3F0C#FFFFFF#000000##FFFFFF
##4A3F0C1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D04
Deuteranopia (green-blind)
#49410F
Tritanopia (blue-blind)
#513935
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4a3f0c;
/* rgb */ color: rgb(74, 63, 12);
/* oklch */ color: oklch(36.9% 0.068 96.4);
Tailwind
colors: {
  custom: {
    50: '#7f734f',
    500: '#4a3f0c',
    950: '#000000',
  },
}
SCSS
$custom: #4a3f0c;
$custom-light: #7f734f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3f0c",
  "rgb": {
    "r": 74,
    "g": 63,
    "b": 12
  },
  "hsl": {
    "h": 49.355,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36882,
    "c": 0.06837,
    "h": 96.4
  },
  "luminance": 0.05037
}

Semantic roles & 50–950 ramp

primary
#4A3F0C
secondary
#2C3C86
accent
#59EF39
background
#F8F6F4
surface
#EFECE7
border
#CAC7C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4A3F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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