#4A4E0A#4A4E0A

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

Color values

HEX#4A4E0A
RGBrgb(74, 78, 10)
HSLhsl(64, 77%, 17%)
HSVhsv(64, 87%, 31%)
CMYKcmyk(5.1%, 0%, 87.2%, 69.4%)
CIE-LABlab(31.64, -10.74, 36.09)
CIE-LCHlch(31.64, 37.65, 106.58°)
OKLaboklab(40.7% -0.0335 0.0784)
OKLCHoklch(40.7% 0.085 113.2)
XYZxyz(5.6034, 6.9267, 1.3289)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4E0A #0E0A4E
analogous
#4E300A #4A4E0A #284E0A
triadic
#4A4E0A #0A4A4E #4E0A4A
tetradic
#4A4E0A #0A4E30 #0E0A4E #4E0A28
square
#4A4E0A #0A4E30 #0E0A4E #4E0A28
split-complementary
#4A4E0A #0A284E #300A4E
monochromatic
#1A1B03 #1A1B03 #4A4E0A #7D8411 #B1BA18

Accessibility & contrast

On white

8.80
#4A4E0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A4E0A
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4E0A#FFFFFF#000000##FFFFFF
##4A4E0A1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A00
Deuteranopia (green-blind)
#554B11
Tritanopia (blue-blind)
#504942
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4a4e0a;
/* rgb */ color: rgb(74, 78, 10);
/* oklch */ color: oklch(40.7% 0.085 113.2);
Tailwind
colors: {
  custom: {
    50: '#7f7f51',
    500: '#4a4e0a',
    950: '#000000',
  },
}
SCSS
$custom: #4a4e0a;
$custom-light: #7f7f51;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4e0a",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 10
  },
  "hsl": {
    "h": 63.529,
    "s": 77.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.40701,
    "c": 0.0853,
    "h": 113.2
  },
  "luminance": 0.06927
}

Semantic roles & 50–950 ramp

primary
#4A4E0A
secondary
#2F298B
accent
#34F43F
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0A0A02
muted
#7C7C78

Preview Lab

Preview with #4A4E0A

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

Preview Lab → · Contrast checker → · Palette generator →

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