#4D4F18#4D4F18

#4D4F18 is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.4% C 0.076 H 111.3°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#4D4F18
RGBrgb(77, 79, 24)
HSLhsl(62, 53%, 20%)
HSVhsv(62, 70%, 31%)
CMYKcmyk(2.5%, 0%, 69.6%, 69%)
CIE-LABlab(32.34, -9.03, 31.07)
CIE-LCHlch(32.34, 32.36, 106.20°)
OKLaboklab(41.36% -0.0274 0.0705)
OKLCHoklch(41.36% 0.076 111.3)
XYZxyz(6.0216, 7.2358, 1.9434)
Luminance0.0724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4F18 #1A184F
analogous
#4F3518 #4D4F18 #314F18
triadic
#4D4F18 #184D4F #4F184D
tetradic
#4D4F18 #184F35 #1A184F #4F1831
square
#4D4F18 #184F35 #1A184F #4F1831
split-complementary
#4D4F18 #18314F #35184F
monochromatic
#171707 #1F200A #4D4F18 #7B7E26 #A9AD35

Accessibility & contrast

On white

8.58
#4D4F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D4F18
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4F18#FFFFFF#000000##FFFFFF
##4D4F181.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B11
Deuteranopia (green-blind)
#564D1C
Tritanopia (blue-blind)
#534A44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4d4f18;
/* rgb */ color: rgb(77, 79, 24);
/* oklch */ color: oklch(41.4% 0.076 111.3);
Tailwind
colors: {
  custom: {
    50: '#818058',
    500: '#4d4f18',
    950: '#000000',
  },
}
SCSS
$custom: #4d4f18;
$custom-light: #818058;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4f18",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 24
  },
  "hsl": {
    "h": 62.182,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41359,
    "c": 0.07563,
    "h": 111.3
  },
  "luminance": 0.07236
}

Semantic roles & 50–950 ramp

primary
#4D4F18
secondary
#403D86
accent
#4BDD50
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4D4F18

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

Preview Lab → · Contrast checker → · Palette generator →

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