#4E4E18#4E4E18

#4E4E18 is a dark, moderate yellow. Relative luminance 0.071; OKLCH L 41.2% C 0.074 H 109.3°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#4E4E18
RGBrgb(78, 78, 24)
HSLhsl(60, 53%, 20%)
HSVhsv(60, 69%, 31%)
CMYKcmyk(0%, 0%, 69.2%, 69.4%)
CIE-LABlab(32.11, -7.95, 30.86)
CIE-LCHlch(32.11, 31.87, 104.44°)
OKLaboklab(41.2% -0.0245 0.07)
OKLCHoklch(41.2% 0.074 109.3)
XYZxyz(6.0313, 7.1346, 1.9234)
Luminance0.0713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E18 #18184E
analogous
#4E3318 #4E4E18 #334E18
triadic
#4E4E18 #184E4E #4E184E
tetradic
#4E4E18 #184E33 #18184E #4E1833
square
#4E4E18 #184E33 #18184E #4E1833
split-complementary
#4E4E18 #18334E #33184E
monochromatic
#171707 #1F1F0A #4E4E18 #7D7D26 #ACAC35

Accessibility & contrast

On white

8.65
#4E4E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4E4E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4E18
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E18#FFFFFF#000000##FFFFFF
##4E4E181.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B11
Deuteranopia (green-blind)
#554C1B
Tritanopia (blue-blind)
#544943
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4e18;
/* rgb */ color: rgb(78, 78, 24);
/* oklch */ color: oklch(41.2% 0.074 109.3);
Tailwind
colors: {
  custom: {
    50: '#817f58',
    500: '#4e4e18',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e18;
$custom-light: #817f58;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e18",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 24
  },
  "hsl": {
    "h": 60,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.41201,
    "c": 0.07416,
    "h": 109.3
  },
  "luminance": 0.07134
}

Semantic roles & 50–950 ramp

primary
#4E4E18
secondary
#3D3D85
accent
#4BDC4B
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E4E18

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

Preview Lab → · Contrast checker → · Palette generator →

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