#4E4E07#4E4E07

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

Color values

HEX#4E4E07
RGBrgb(78, 78, 7)
HSLhsl(60, 84%, 17%)
HSVhsv(60, 91%, 31%)
CMYKcmyk(0%, 0%, 91%, 69.4%)
CIE-LABlab(32.00, -8.86, 37.55)
CIE-LCHlch(32.00, 38.58, 103.27°)
OKLaboklab(41.07% -0.0288 0.0807)
OKLCHoklch(41.07% 0.086 109.6)
XYZxyz(5.9049, 7.0840, 1.2573)
Luminance0.0708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E07 #07074E
analogous
#4E2B07 #4E4E07 #2B4E07
triadic
#4E4E07 #074E4E #4E074E
tetradic
#4E4E07 #074E2B #07074E #4E072B
square
#4E4E07 #074E2B #07074E #4E072B
split-complementary
#4E4E07 #072B4E #2B074E
monochromatic
#1C1C03 #1C1C03 #4E4E07 #86860C #BEBE11

Accessibility & contrast

On white

8.69
#4E4E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4E07
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E07#FFFFFF#000000##FFFFFF
##4E4E071.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e4e07;
/* rgb */ color: rgb(78, 78, 7);
/* oklch */ color: oklch(41.1% 0.086 109.6);
Tailwind
colors: {
  custom: {
    50: '#827f4f',
    500: '#4e4e07',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e07;
$custom-light: #827f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e07",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 7
  },
  "hsl": {
    "h": 60,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.41074,
    "c": 0.0857,
    "h": 109.6
  },
  "luminance": 0.07084
}

Semantic roles & 50–950 ramp

primary
#4E4E07
secondary
#25258C
accent
#2EFA2E
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A02
muted
#7C7C78

Preview Lab

Preview with #4E4E07

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

Preview Lab → · Contrast checker → · Palette generator →

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