#4E4C07#4E4C07

#4E4C07 is a dark, moderate yellow. Relative luminance 0.068; OKLCH L 40.6% C 0.084 H 107.8°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#4E4C07
RGBrgb(78, 76, 7)
HSLhsl(58, 84%, 17%)
HSVhsv(58, 91%, 31%)
CMYKcmyk(0%, 2.6%, 91%, 69.4%)
CIE-LABlab(31.36, -7.67, 37.01)
CIE-LCHlch(31.36, 37.80, 101.71°)
OKLaboklab(40.56% -0.0255 0.0795)
OKLCHoklch(40.56% 0.084 107.8)
XYZxyz(5.7649, 6.8041, 1.2106)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4C07 #07094E
analogous
#4E2907 #4E4C07 #2D4E07
triadic
#4E4C07 #074E4C #4C074E
tetradic
#4E4C07 #074E29 #07094E #4E072D
square
#4E4C07 #074E29 #07094E #4E072D
split-complementary
#4E4C07 #072D4E #29074E
monochromatic
#1C1B03 #1C1B03 #4E4C07 #86830C #BEB911

Accessibility & contrast

On white

8.90
#4E4C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4E4C07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4C07
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4C07#FFFFFF#000000##FFFFFF
##4E4C071.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534900
Deuteranopia (green-blind)
#544B0E
Tritanopia (blue-blind)
#544640
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e4c07;
/* rgb */ color: rgb(78, 76, 7);
/* oklch */ color: oklch(40.6% 0.084 107.8);
Tailwind
colors: {
  custom: {
    50: '#837d4f',
    500: '#4e4c07',
    950: '#000000',
  },
}
SCSS
$custom: #4e4c07;
$custom-light: #837d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4c07",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 7
  },
  "hsl": {
    "h": 58.31,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.40562,
    "c": 0.08353,
    "h": 107.8
  },
  "luminance": 0.06804
}

Semantic roles & 50–950 ramp

primary
#4E4C07
secondary
#25288C
accent
#34FA2E
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4E4C07

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

Preview Lab → · Contrast checker → · Palette generator →

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