#4A4E1C#4A4E1C

#4A4E1C is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 40.9% C 0.071 H 113.4°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#4A4E1C
RGBrgb(74, 78, 28)
HSLhsl(65, 47%, 21%)
HSVhsv(65, 64%, 31%)
CMYKcmyk(5.1%, 0%, 64.1%, 69.4%)
CIE-LABlab(31.78, -9.58, 28.37)
CIE-LCHlch(31.78, 29.95, 108.65°)
OKLaboklab(40.86% -0.0283 0.0655)
OKLCHoklch(40.86% 0.071 113.4)
XYZxyz(5.7582, 6.9886, 2.1440)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4E1C #201C4E
analogous
#4E391C #4A4E1C #314E1C
triadic
#4A4E1C #1C4A4E #4E1C4A
tetradic
#4A4E1C #1C4E39 #201C4E #4E1C31
square
#4A4E1C #1C4E39 #201C4E #4E1C31
split-complementary
#4A4E1C #1C314E #391C4E
monochromatic
#151708 #1F210C #4A4E1C #757B2C #9FA83C

Accessibility & contrast

On white

8.76
#4A4E1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4A4E1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4E1C
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4E1C#FFFFFF#000000##FFFFFF
##4A4E1C1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A16
Deuteranopia (green-blind)
#544B1F
Tritanopia (blue-blind)
#4F4943
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a4e1c;
/* rgb */ color: rgb(74, 78, 28);
/* oklch */ color: oklch(40.9% 0.071 113.4);
Tailwind
colors: {
  custom: {
    50: '#7e7f5a',
    500: '#4a4e1c',
    950: '#000000',
  },
}
SCSS
$custom: #4a4e1c;
$custom-light: #7e7f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4e1c",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 28
  },
  "hsl": {
    "h": 64.8,
    "s": 47.17,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40859,
    "c": 0.07133,
    "h": 113.4
  },
  "luminance": 0.06988
}

Semantic roles & 50–950 ramp

primary
#4A4E1C
secondary
#474284
accent
#51D75C
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4A4E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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