#4E4E0C#4E4E0C

#4E4E0C is a dark, moderate yellow. Relative luminance 0.071; OKLCH L 41.1% C 0.083 H 109.6°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#4E4E0C
RGBrgb(78, 78, 12)
HSLhsl(60, 73%, 18%)
HSVhsv(60, 85%, 31%)
CMYKcmyk(0%, 0%, 84.6%, 69.4%)
CIE-LABlab(32.02, -8.65, 35.89)
CIE-LCHlch(32.02, 36.92, 103.55°)
OKLaboklab(41.1% -0.0278 0.0782)
OKLCHoklch(41.1% 0.083 109.6)
XYZxyz(5.9329, 7.0952, 1.4047)
Luminance0.0709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E0C #0C0C4E
analogous
#4E2D0C #4E4E0C #2D4E0C
triadic
#4E4E0C #0C4E4E #4E0C4E
tetradic
#4E4E0C #0C4E2D #0C0C4E #4E0C2D
square
#4E4E0C #0C4E2D #0C0C4E #4E0C2D
split-complementary
#4E4E0C #0C2D4E #2D0C4E
monochromatic
#1B1B04 #1B1B04 #4E4E0C #838314 #B8B81C

Accessibility & contrast

On white

8.68
#4E4E0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4E4E0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4E0C
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E0C#FFFFFF#000000##FFFFFF
##4E4E0C1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A00
Deuteranopia (green-blind)
#564C12
Tritanopia (blue-blind)
#544842
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4e0c;
/* rgb */ color: rgb(78, 78, 12);
/* oklch */ color: oklch(41.1% 0.083 109.6);
Tailwind
colors: {
  custom: {
    50: '#827f52',
    500: '#4e4e0c',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e0c;
$custom-light: #827f52;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e0c",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 12
  },
  "hsl": {
    "h": 60,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.41102,
    "c": 0.08303,
    "h": 109.6
  },
  "luminance": 0.07095
}

Semantic roles & 50–950 ramp

primary
#4E4E0C
secondary
#2C2C8A
accent
#38F038
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A02
muted
#7C7C78

Preview Lab

Preview with #4E4E0C

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

Preview Lab → · Contrast checker → · Palette generator →

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