#4D5010#4D5010

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

Color values

HEX#4D5010
RGBrgb(77, 80, 16)
HSLhsl(63, 67%, 19%)
HSVhsv(63, 80%, 31%)
CMYKcmyk(3.7%, 0%, 80%, 68.6%)
CIE-LABlab(32.60, -10.13, 34.88)
CIE-LCHlch(32.60, 36.32, 106.19°)
OKLaboklab(41.55% -0.0314 0.077)
OKLCHoklch(41.55% 0.083 112.2)
XYZxyz(6.0229, 7.3527, 1.5920)
Luminance0.0735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5010 #131050
analogous
#503310 #4D5010 #2D5010
triadic
#4D5010 #104D50 #50104D
tetradic
#4D5010 #105033 #131050 #50102D
square
#4D5010 #105033 #131050 #50102D
split-complementary
#4D5010 #102D50 #331050
monochromatic
#191A05 #1C1D06 #4D5010 #7E831A #AFB624

Accessibility & contrast

On white

8.50
#4D5010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4D5010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5010
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5010#FFFFFF#000000##FFFFFF
##4D50101.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C04
Deuteranopia (green-blind)
#574D15
Tritanopia (blue-blind)
#534B44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d5010;
/* rgb */ color: rgb(77, 80, 16);
/* oklch */ color: oklch(41.5% 0.083 112.2);
Tailwind
colors: {
  custom: {
    50: '#818054',
    500: '#4d5010',
    950: '#000000',
  },
}
SCSS
$custom: #4d5010;
$custom-light: #818054;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5010",
  "rgb": {
    "r": 77,
    "g": 80,
    "b": 16
  },
  "hsl": {
    "h": 62.813,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.41546,
    "c": 0.08315,
    "h": 112.2
  },
  "luminance": 0.07353
}

Semantic roles & 50–950 ramp

primary
#4D5010
secondary
#36328A
accent
#3EEA46
background
#F8F7F5
surface
#EFEEE8
border
#CAC9C4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4D5010

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

Preview Lab → · Contrast checker → · Palette generator →

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