#4E5112#4E5112

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

Color values

HEX#4E5112
RGBrgb(78, 81, 18)
HSLhsl(63, 64%, 19%)
HSVhsv(63, 78%, 32%)
CMYKcmyk(3.7%, 0%, 77.8%, 68.2%)
CIE-LABlab(33.02, -10.10, 34.51)
CIE-LCHlch(33.02, 35.96, 106.32°)
OKLaboklab(41.92% -0.0312 0.0766)
OKLCHoklch(41.92% 0.083 112.2)
XYZxyz(6.1937, 7.5484, 1.7029)
Luminance0.0755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5112 #151251
analogous
#513512 #4E5112 #2F5112
triadic
#4E5112 #124E51 #51124E
tetradic
#4E5112 #125135 #151251 #51122F
square
#4E5112 #125135 #151251 #51122F
split-complementary
#4E5112 #122F51 #351251
monochromatic
#181906 #1E1F07 #4E5112 #7E831D #AEB528

Accessibility & contrast

On white

8.37
#4E5112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E5112
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5112#FFFFFF#000000##FFFFFF
##4E51121.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e5112;
/* rgb */ color: rgb(78, 81, 18);
/* oklch */ color: oklch(41.9% 0.083 112.2);
Tailwind
colors: {
  custom: {
    50: '#828155',
    500: '#4e5112',
    950: '#000000',
  },
}
SCSS
$custom: #4e5112;
$custom-light: #828155;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5112",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 18
  },
  "hsl": {
    "h": 62.857,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.41915,
    "c": 0.08268,
    "h": 112.2
  },
  "luminance": 0.07548
}

Semantic roles & 50–950 ramp

primary
#4E5112
secondary
#39358A
accent
#41E749
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E5112

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

Preview Lab → · Contrast checker → · Palette generator →

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