#4D530D#4D530D

#4D530D is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.3% C 0.089 H 114.6°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#4D530D
RGBrgb(77, 83, 13)
HSLhsl(65, 73%, 19%)
HSVhsv(65, 84%, 33%)
CMYKcmyk(7.2%, 0%, 84.3%, 67.5%)
CIE-LABlab(33.55, -12.01, 36.88)
CIE-LCHlch(33.55, 38.79, 108.04°)
OKLaboklab(42.3% -0.037 0.0806)
OKLCHoklch(42.3% 0.089 114.6)
XYZxyz(6.2267, 7.7935, 1.5570)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D530D #130D53
analogous
#53360D #4D530D #2A530D
triadic
#4D530D #0D4D53 #530D4D
tetradic
#4D530D #0D5336 #130D53 #530D2A
square
#4D530D #0D5336 #130D53 #530D2A
split-complementary
#4D530D #0D2A53 #360D53
monochromatic
#191A04 #1C1E05 #4D530D #7E8815 #AFBD1E

Accessibility & contrast

On white

8.21
#4D530D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4D530D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D530D
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D530D#FFFFFF#000000##FFFFFF
##4D530D1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4E00
Deuteranopia (green-blind)
#594F13
Tritanopia (blue-blind)
#534E46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d530d;
/* rgb */ color: rgb(77, 83, 13);
/* oklch */ color: oklch(42.3% 0.089 114.6);
Tailwind
colors: {
  custom: {
    50: '#818353',
    500: '#4d530d',
    950: '#000000',
  },
}
SCSS
$custom: #4d530d;
$custom-light: #818353;
$custom-dark: #000000;
JSON
{
  "hex": "#4d530d",
  "rgb": {
    "r": 77,
    "g": 83,
    "b": 13
  },
  "hsl": {
    "h": 65.143,
    "s": 72.917,
    "l": 18.824
  },
  "oklch": {
    "l": 0.42304,
    "c": 0.08869,
    "h": 114.6
  },
  "luminance": 0.07793
}

Semantic roles & 50–950 ramp

primary
#4D530D
secondary
#362E8E
accent
#38F048
background
#F8F8F4
surface
#EFEFE7
border
#CACAC3
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4D530D

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

Preview Lab → · Contrast checker → · Palette generator →

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