#4E500C#4E500C

#4E500C is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.6% C 0.085 H 111.3°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#4E500C
RGBrgb(78, 80, 12)
HSLhsl(62, 74%, 18%)
HSVhsv(62, 85%, 31%)
CMYKcmyk(2.5%, 0%, 85%, 68.6%)
CIE-LABlab(32.66, -9.83, 36.47)
CIE-LCHlch(32.66, 37.77, 105.08°)
OKLaboklab(41.62% -0.0311 0.0795)
OKLCHoklch(41.62% 0.085 111.3)
XYZxyz(6.0771, 7.3837, 1.4528)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E500C #0E0C50
analogous
#50300C #4E500C #2C500C
triadic
#4E500C #0C4E50 #500C4E
tetradic
#4E500C #0C5030 #0E0C50 #500C2C
square
#4E500C #0C5030 #0E0C50 #500C2C
split-complementary
#4E500C #0C2C50 #300C50
monochromatic
#1A1B04 #1A1B04 #4E500C #828514 #B6BA1C

Accessibility & contrast

On white

8.48
#4E500C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4E500C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E500C
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E500C#FFFFFF#000000##FFFFFF
##4E500C1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C00
Deuteranopia (green-blind)
#574E12
Tritanopia (blue-blind)
#544A43
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e500c;
/* rgb */ color: rgb(78, 80, 12);
/* oklch */ color: oklch(41.6% 0.085 111.3);
Tailwind
colors: {
  custom: {
    50: '#828052',
    500: '#4e500c',
    950: '#000000',
  },
}
SCSS
$custom: #4e500c;
$custom-light: #828052;
$custom-dark: #000000;
JSON
{
  "hex": "#4e500c",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 12
  },
  "hsl": {
    "h": 61.765,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.41616,
    "c": 0.08533,
    "h": 111.3
  },
  "luminance": 0.07384
}

Semantic roles & 50–950 ramp

primary
#4E500C
secondary
#2F2C8B
accent
#37F13D
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A02
muted
#7C7C78

Preview Lab

Preview with #4E500C

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

Preview Lab → · Contrast checker → · Palette generator →

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