#4D530F#4D530F

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

Color values

HEX#4D530F
RGBrgb(77, 83, 15)
HSLhsl(65, 69%, 19%)
HSVhsv(65, 82%, 33%)
CMYKcmyk(7.2%, 0%, 81.9%, 67.5%)
CIE-LABlab(33.56, -11.91, 36.17)
CIE-LCHlch(33.56, 38.08, 108.23°)
OKLaboklab(42.32% -0.0365 0.0795)
OKLCHoklch(42.32% 0.087 114.7)
XYZxyz(6.2402, 7.7989, 1.6285)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D530F #150F53
analogous
#53370F #4D530F #2B530F
triadic
#4D530F #0F4D53 #530F4D
tetradic
#4D530F #0F5337 #150F53 #530F2B
square
#4D530F #0F5337 #150F53 #530F2B
split-complementary
#4D530F #0F2B53 #370F53
monochromatic
#181A05 #1D1F06 #4D530F #7D8718 #ADBB22

Accessibility & contrast

On white

8.20
#4D530F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D530F
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D530F#FFFFFF#000000##FFFFFF
##4D530F1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d530f;
/* rgb */ color: rgb(77, 83, 15);
/* oklch */ color: oklch(42.3% 0.087 114.7);
Tailwind
colors: {
  custom: {
    50: '#818354',
    500: '#4d530f',
    950: '#000000',
  },
}
SCSS
$custom: #4d530f;
$custom-light: #818354;
$custom-dark: #000000;
JSON
{
  "hex": "#4d530f",
  "rgb": {
    "r": 77,
    "g": 83,
    "b": 15
  },
  "hsl": {
    "h": 65.294,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.42317,
    "c": 0.08749,
    "h": 114.7
  },
  "luminance": 0.07799
}

Semantic roles & 50–950 ramp

primary
#4D530F
secondary
#39318D
accent
#3CEC4B
background
#F8F8F5
surface
#EFEFE8
border
#CACAC4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4D530F

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

Preview Lab → · Contrast checker → · Palette generator →

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