#4E5114#4E5114

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

Color values

HEX#4E5114
RGBrgb(78, 81, 20)
HSLhsl(63, 60%, 20%)
HSVhsv(63, 75%, 32%)
CMYKcmyk(3.7%, 0%, 75.3%, 68.2%)
CIE-LABlab(33.04, -9.98, 33.67)
CIE-LCHlch(33.04, 35.12, 106.52°)
OKLaboklab(41.93% -0.0307 0.0752)
OKLCHoklch(41.93% 0.081 112.2)
XYZxyz(6.2108, 7.5552, 1.7928)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5114 #171451
analogous
#513614 #4E5114 #305114
triadic
#4E5114 #144E51 #51144E
tetradic
#4E5114 #145136 #171451 #511430
square
#4E5114 #145136 #171451 #511430
split-complementary
#4E5114 #143051 #361451
monochromatic
#181906 #1F2008 #4E5114 #7D8220 #ADB32C

Accessibility & contrast

On white

8.36
#4E5114 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E5114
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5114#FFFFFF#000000##FFFFFF
##4E51141.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0A
Deuteranopia (green-blind)
#584E18
Tritanopia (blue-blind)
#544C45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e5114;
/* rgb */ color: rgb(78, 81, 20);
/* oklch */ color: oklch(41.9% 0.081 112.2);
Tailwind
colors: {
  custom: {
    50: '#828156',
    500: '#4e5114',
    950: '#000000',
  },
}
SCSS
$custom: #4e5114;
$custom-light: #828156;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5114",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 20
  },
  "hsl": {
    "h": 62.951,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41932,
    "c": 0.0812,
    "h": 112.2
  },
  "luminance": 0.07555
}

Semantic roles & 50–950 ramp

primary
#4E5114
secondary
#3C3889
accent
#44E44C
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E5114

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

Preview Lab → · Contrast checker → · Palette generator →

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