#4A4E0C#4A4E0C

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

Color values

HEX#4A4E0C
RGBrgb(74, 78, 12)
HSLhsl(64, 73%, 18%)
HSVhsv(64, 85%, 31%)
CMYKcmyk(5.1%, 0%, 84.6%, 69.4%)
CIE-LABlab(31.65, -10.65, 35.41)
CIE-LCHlch(31.65, 36.98, 106.74°)
OKLaboklab(40.71% -0.0331 0.0774)
OKLCHoklch(40.71% 0.084 113.2)
XYZxyz(5.6150, 6.9313, 1.3898)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4E0C #100C4E
analogous
#4E310C #4A4E0C #294E0C
triadic
#4A4E0C #0C4A4E #4E0C4A
tetradic
#4A4E0C #0C4E31 #100C4E #4E0C29
square
#4A4E0C #0C4E31 #100C4E #4E0C29
split-complementary
#4A4E0C #0C294E #310C4E
monochromatic
#191B04 #191B04 #4A4E0C #7C8314 #AFB81C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A4E0C#FFFFFF#000000##FFFFFF
##4A4E0C1.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)
#554B12
Tritanopia (blue-blind)
#504942
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4a4e0c;
/* rgb */ color: rgb(74, 78, 12);
/* oklch */ color: oklch(40.7% 0.084 113.2);
Tailwind
colors: {
  custom: {
    50: '#7f7f51',
    500: '#4a4e0c',
    950: '#000000',
  },
}
SCSS
$custom: #4a4e0c;
$custom-light: #7f7f51;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4e0c",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 12
  },
  "hsl": {
    "h": 63.636,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.40713,
    "c": 0.08419,
    "h": 113.2
  },
  "luminance": 0.06931
}

Semantic roles & 50–950 ramp

primary
#4A4E0C
secondary
#322C8A
accent
#38F043
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0A02
muted
#7C7C78

Preview Lab

Preview with #4A4E0C

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

Preview Lab → · Contrast checker → · Palette generator →

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