#4D530E#4D530E

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

Color values

HEX#4D530E
RGBrgb(77, 83, 14)
HSLhsl(65, 71%, 19%)
HSVhsv(65, 83%, 33%)
CMYKcmyk(7.2%, 0%, 83.1%, 67.5%)
CIE-LABlab(33.55, -11.96, 36.54)
CIE-LCHlch(33.55, 38.44, 108.13°)
OKLaboklab(42.31% -0.0367 0.0801)
OKLCHoklch(42.31% 0.088 114.6)
XYZxyz(6.2333, 7.7961, 1.5918)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D530E #140E53
analogous
#53370E #4D530E #2B530E
triadic
#4D530E #0E4D53 #530E4D
tetradic
#4D530E #0E5337 #140E53 #530E2B
square
#4D530E #0E5337 #140E53 #530E2B
split-complementary
#4D530E #0E2B53 #370E53
monochromatic
#181A04 #1C1F05 #4D530E #7E8717 #AEBC20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D530E#FFFFFF#000000##FFFFFF
##4D530E1.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)
#5A4E01
Deuteranopia (green-blind)
#594F14
Tritanopia (blue-blind)
#534E46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d530e;
/* rgb */ color: rgb(77, 83, 14);
/* oklch */ color: oklch(42.3% 0.088 114.6);
Tailwind
colors: {
  custom: {
    50: '#818353',
    500: '#4d530e',
    950: '#000000',
  },
}
SCSS
$custom: #4d530e;
$custom-light: #818353;
$custom-dark: #000000;
JSON
{
  "hex": "#4d530e",
  "rgb": {
    "r": 77,
    "g": 83,
    "b": 14
  },
  "hsl": {
    "h": 65.217,
    "s": 71.134,
    "l": 19.02
  },
  "oklch": {
    "l": 0.4231,
    "c": 0.0881,
    "h": 114.6
  },
  "luminance": 0.07796
}

Semantic roles & 50–950 ramp

primary
#4D530E
secondary
#382F8D
accent
#3AEE4A
background
#F8F8F4
surface
#EFEFE8
border
#CACAC4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4D530E

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

Preview Lab → · Contrast checker → · Palette generator →

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