#4E530D#4E530D

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

Color values

HEX#4E530D
RGBrgb(78, 83, 13)
HSLhsl(64, 73%, 19%)
HSVhsv(64, 84%, 33%)
CMYKcmyk(6%, 0%, 84.3%, 67.5%)
CIE-LABlab(33.64, -11.52, 37.00)
CIE-LCHlch(33.64, 38.75, 107.29°)
OKLaboklab(42.4% -0.0357 0.0808)
OKLCHoklch(42.4% 0.088 113.8)
XYZxyz(6.3080, 7.8354, 1.5608)
Luminance0.0784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E530D #120D53
analogous
#53350D #4E530D #2B530D
triadic
#4E530D #0D4E53 #530D4E
tetradic
#4E530D #0D5335 #120D53 #530D2B
square
#4E530D #0D5335 #120D53 #530D2B
split-complementary
#4E530D #0D2B53 #350D53
monochromatic
#191A04 #1C1E05 #4E530D #808815 #B1BD1E

Accessibility & contrast

On white

8.18
#4E530D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4E530D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E530D
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E530D#FFFFFF#000000##FFFFFF
##4E530D1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4E00
Deuteranopia (green-blind)
#5A5013
Tritanopia (blue-blind)
#544D46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e530d;
/* rgb */ color: rgb(78, 83, 13);
/* oklch */ color: oklch(42.4% 0.088 113.8);
Tailwind
colors: {
  custom: {
    50: '#828353',
    500: '#4e530d',
    950: '#000000',
  },
}
SCSS
$custom: #4e530d;
$custom-light: #828353;
$custom-dark: #000000;
JSON
{
  "hex": "#4e530d",
  "rgb": {
    "r": 78,
    "g": 83,
    "b": 13
  },
  "hsl": {
    "h": 64.286,
    "s": 72.917,
    "l": 18.824
  },
  "oklch": {
    "l": 0.42397,
    "c": 0.08833,
    "h": 113.8
  },
  "luminance": 0.07835
}

Semantic roles & 50–950 ramp

primary
#4E530D
secondary
#352E8E
accent
#38F045
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E530D

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

Preview Lab → · Contrast checker → · Palette generator →

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