#4A4E11#4A4E11

#4A4E11 is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 40.7% C 0.081 H 113.2°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#4A4E11
RGBrgb(74, 78, 17)
HSLhsl(64, 64%, 19%)
HSVhsv(64, 78%, 31%)
CMYKcmyk(5.1%, 0%, 78.2%, 69.4%)
CIE-LABlab(31.68, -10.39, 33.50)
CIE-LCHlch(31.68, 35.07, 107.23°)
OKLaboklab(40.75% -0.0319 0.0744)
OKLCHoklch(40.75% 0.081 113.2)
XYZxyz(5.6498, 6.9452, 1.5731)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4E11 #15114E
analogous
#4E3311 #4A4E11 #2B4E11
triadic
#4A4E11 #114A4E #4E114A
tetradic
#4A4E11 #114E33 #15114E #4E112B
square
#4A4E11 #114E33 #15114E #4E112B
split-complementary
#4A4E11 #112B4E #33114E
monochromatic
#181905 #1A1C06 #4A4E11 #7A801C #A9B227

Accessibility & contrast

On white

8.79
#4A4E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4A4E11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4E11
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4E11#FFFFFF#000000##FFFFFF
##4A4E111.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A06
Deuteranopia (green-blind)
#544B16
Tritanopia (blue-blind)
#4F4942
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a4e11;
/* rgb */ color: rgb(74, 78, 17);
/* oklch */ color: oklch(40.7% 0.081 113.2);
Tailwind
colors: {
  custom: {
    50: '#7f7f54',
    500: '#4a4e11',
    950: '#000000',
  },
}
SCSS
$custom: #4a4e11;
$custom-light: #7f7f54;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4e11",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 17
  },
  "hsl": {
    "h": 63.934,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.40748,
    "c": 0.08092,
    "h": 113.2
  },
  "luminance": 0.06945
}

Semantic roles & 50–950 ramp

primary
#4A4E11
secondary
#393387
accent
#41E74C
background
#F7F7F5
surface
#EEEEE8
border
#C9C9C4
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4A4E11

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

Preview Lab → · Contrast checker → · Palette generator →

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