#4E5512#4E5512

#4E5512 is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.0% C 0.088 H 115.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#4E5512
RGBrgb(78, 85, 18)
HSLhsl(66, 65%, 20%)
HSVhsv(66, 79%, 33%)
CMYKcmyk(8.2%, 0%, 78.8%, 66.7%)
CIE-LABlab(34.31, -12.41, 35.75)
CIE-LCHlch(34.31, 37.85, 109.14°)
OKLaboklab(42.95% -0.0376 0.0792)
OKLCHoklch(42.95% 0.088 115.4)
XYZxyz(6.4997, 8.1605, 1.8049)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5512 #191255
analogous
#553B12 #4E5512 #2C5512
triadic
#4E5512 #124E55 #55124E
tetradic
#4E5512 #12553B #191255 #55122C
square
#4E5512 #12553B #191255 #55122C
split-complementary
#4E5512 #122C55 #3B1255
monochromatic
#171905 #202207 #4E5512 #7C881D #ABBA27

Accessibility & contrast

On white

7.98
#4E5512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4E5512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5512
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5512#FFFFFF#000000##FFFFFF
##4E55121.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5006
Deuteranopia (green-blind)
#5B5118
Tritanopia (blue-blind)
#545048
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e5512;
/* rgb */ color: rgb(78, 85, 18);
/* oklch */ color: oklch(43.0% 0.088 115.4);
Tailwind
colors: {
  custom: {
    50: '#828455',
    500: '#4e5512',
    950: '#000000',
  },
}
SCSS
$custom: #4e5512;
$custom-light: #828455;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5512",
  "rgb": {
    "r": 78,
    "g": 85,
    "b": 18
  },
  "hsl": {
    "h": 66.269,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.4295,
    "c": 0.08768,
    "h": 115.4
  },
  "luminance": 0.0816
}

Semantic roles & 50–950 ramp

primary
#4E5512
secondary
#3E358E
accent
#40E851
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4E5512

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

Preview Lab → · Contrast checker → · Palette generator →

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