#4E5119#4E5119

#4E5119 is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.0% C 0.077 H 112.2°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#4E5119
RGBrgb(78, 81, 25)
HSLhsl(63, 53%, 21%)
HSVhsv(63, 69%, 32%)
CMYKcmyk(3.7%, 0%, 69.1%, 68.2%)
CIE-LABlab(33.08, -9.64, 31.40)
CIE-LCHlch(33.08, 32.85, 107.06°)
OKLaboklab(41.98% -0.0291 0.0713)
OKLCHoklch(41.98% 0.077 112.2)
XYZxyz(6.2600, 7.5749, 2.0519)
Luminance0.0757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5119 #1C1951
analogous
#513819 #4E5119 #325119
triadic
#4E5119 #194E51 #51194E
tetradic
#4E5119 #195138 #1C1951 #511932
square
#4E5119 #195138 #1C1951 #511932
split-complementary
#4E5119 #193251 #381951
monochromatic
#171707 #21220B #4E5119 #7B8027 #A8AF36

Accessibility & contrast

On white

8.35
#4E5119 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4E5119 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5119
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5119#FFFFFF#000000##FFFFFF
##4E51191.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D12
Deuteranopia (green-blind)
#584E1D
Tritanopia (blue-blind)
#544C45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e5119;
/* rgb */ color: rgb(78, 81, 25);
/* oklch */ color: oklch(42.0% 0.077 112.2);
Tailwind
colors: {
  custom: {
    50: '#818159',
    500: '#4e5119',
    950: '#000000',
  },
}
SCSS
$custom: #4e5119;
$custom-light: #818159;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5119",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 25
  },
  "hsl": {
    "h": 63.214,
    "s": 52.83,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41979,
    "c": 0.07703,
    "h": 112.2
  },
  "luminance": 0.07575
}

Semantic roles & 50–950 ramp

primary
#4E5119
secondary
#423E87
accent
#4CDC53
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #4E5119

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

Preview Lab → · Contrast checker → · Palette generator →

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