#4A4C12#4A4C12

#4A4C12 is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.2% C 0.078 H 111.4°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#4A4C12
RGBrgb(74, 76, 18)
HSLhsl(62, 62%, 18%)
HSVhsv(62, 76%, 30%)
CMYKcmyk(2.6%, 0%, 76.3%, 70.2%)
CIE-LABlab(31.04, -9.16, 32.44)
CIE-LCHlch(31.04, 33.71, 105.76°)
OKLaboklab(40.24% -0.0283 0.0723)
OKLCHoklch(40.24% 0.078 111.4)
XYZxyz(5.5178, 6.6685, 1.5686)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4C12 #14124C
analogous
#4C3112 #4A4C12 #2D4C12
triadic
#4A4C12 #124A4C #4C124A
tetradic
#4A4C12 #124C31 #14124C #4C122D
square
#4A4C12 #124C31 #14124C #4C122D
split-complementary
#4A4C12 #122D4C #31124C
monochromatic
#181906 #1A1B06 #4A4C12 #7A7D1E #AAAF29

Accessibility & contrast

On white

9.00
#4A4C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4A4C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4C12
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4C12#FFFFFF#000000##FFFFFF
##4A4C121.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524809
Deuteranopia (green-blind)
#534A16
Tritanopia (blue-blind)
#504741
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4a4c12;
/* rgb */ color: rgb(74, 76, 18);
/* oklch */ color: oklch(40.2% 0.078 111.4);
Tailwind
colors: {
  custom: {
    50: '#7f7d54',
    500: '#4a4c12',
    950: '#000000',
  },
}
SCSS
$custom: #4a4c12;
$custom-light: #7f7d54;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4c12",
  "rgb": {
    "r": 74,
    "g": 76,
    "b": 18
  },
  "hsl": {
    "h": 62.069,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.40237,
    "c": 0.07768,
    "h": 111.4
  },
  "luminance": 0.06668
}

Semantic roles & 50–950 ramp

primary
#4A4C12
secondary
#383585
accent
#43E549
background
#F7F7F5
surface
#EEEEE8
border
#C9C9C4
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #4A4C12

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

Preview Lab → · Contrast checker → · Palette generator →

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