#4E530C#4E530C

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

Color values

HEX#4E530C
RGBrgb(78, 83, 12)
HSLhsl(64, 75%, 19%)
HSVhsv(64, 86%, 33%)
CMYKcmyk(6%, 0%, 85.5%, 67.5%)
CIE-LABlab(33.63, -11.56, 37.34)
CIE-LCHlch(33.63, 39.09, 107.21°)
OKLaboklab(42.39% -0.0359 0.0813)
OKLCHoklch(42.39% 0.089 113.8)
XYZxyz(6.3017, 7.8329, 1.5277)
Luminance0.0783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E530C #110C53
analogous
#53340C #4E530C #2A530C
triadic
#4E530C #0C4E53 #530C4E
tetradic
#4E530C #0C5334 #110C53 #530C2A
square
#4E530C #0C5334 #110C53 #530C2A
split-complementary
#4E530C #0C2A53 #340C53
monochromatic
#191B04 #1C1E04 #4E530C #808814 #B2BE1B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E530C#FFFFFF#000000##FFFFFF
##4E530C1.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: #4e530c;
/* rgb */ color: rgb(78, 83, 12);
/* oklch */ color: oklch(42.4% 0.089 113.8);
Tailwind
colors: {
  custom: {
    50: '#828352',
    500: '#4e530c',
    950: '#000000',
  },
}
SCSS
$custom: #4e530c;
$custom-light: #828352;
$custom-dark: #000000;
JSON
{
  "hex": "#4e530c",
  "rgb": {
    "r": 78,
    "g": 83,
    "b": 12
  },
  "hsl": {
    "h": 64.225,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.42391,
    "c": 0.08889,
    "h": 113.8
  },
  "luminance": 0.07833
}

Semantic roles & 50–950 ramp

primary
#4E530C
secondary
#332D8E
accent
#36F144
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A02
muted
#7C7C78

Preview Lab

Preview with #4E530C

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

Preview Lab → · Contrast checker → · Palette generator →

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