#4E4F12#4E4F12

#4E4F12 is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.4% C 0.080 H 110.4°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#4E4F12
RGBrgb(78, 79, 18)
HSLhsl(61, 63%, 19%)
HSVhsv(61, 77%, 31%)
CMYKcmyk(1.3%, 0%, 77.2%, 69%)
CIE-LABlab(32.38, -8.93, 33.88)
CIE-LCHlch(32.38, 35.04, 104.77°)
OKLaboklab(41.4% -0.0279 0.0752)
OKLCHoklch(41.4% 0.08 110.4)
XYZxyz(6.0473, 7.2555, 1.6541)
Luminance0.0726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4F12 #13124F
analogous
#4F3212 #4E4F12 #304F12
triadic
#4E4F12 #124E4F #4F124E
tetradic
#4E4F12 #124F32 #13124F #4F1230
square
#4E4F12 #124F32 #13124F #4F1230
split-complementary
#4E4F12 #12304F #32124F
monochromatic
#191906 #1D1D07 #4E4F12 #7F811D #B0B329

Accessibility & contrast

On white

8.57
#4E4F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4E4F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4F12
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4F12#FFFFFF#000000##FFFFFF
##4E4F121.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B08
Deuteranopia (green-blind)
#564D17
Tritanopia (blue-blind)
#544A43
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4f12;
/* rgb */ color: rgb(78, 79, 18);
/* oklch */ color: oklch(41.4% 0.080 110.4);
Tailwind
colors: {
  custom: {
    50: '#828055',
    500: '#4e4f12',
    950: '#000000',
  },
}
SCSS
$custom: #4e4f12;
$custom-light: #828055;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4f12",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 60.984,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.41401,
    "c": 0.08026,
    "h": 110.4
  },
  "luminance": 0.07255
}

Semantic roles & 50–950 ramp

primary
#4E4F12
secondary
#363588
accent
#42E645
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E4F12

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

Preview Lab → · Contrast checker → · Palette generator →

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