#4E530F#4E530F

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

Color values

HEX#4E530F
RGBrgb(78, 83, 15)
HSLhsl(64, 69%, 19%)
HSVhsv(64, 82%, 33%)
CMYKcmyk(6%, 0%, 81.9%, 67.5%)
CIE-LABlab(33.65, -11.42, 36.29)
CIE-LCHlch(33.65, 38.04, 107.47°)
OKLaboklab(42.41% -0.0352 0.0797)
OKLCHoklch(42.41% 0.087 113.8)
XYZxyz(6.3216, 7.8408, 1.6323)
Luminance0.0784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E530F #140F53
analogous
#53360F #4E530F #2C530F
triadic
#4E530F #0F4E53 #530F4E
tetradic
#4E530F #0F5336 #140F53 #530F2C
square
#4E530F #0F5336 #140F53 #530F2C
split-complementary
#4E530F #0F2C53 #360F53
monochromatic
#181A05 #1D1F06 #4E530F #7F8718 #AFBB22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E530F#FFFFFF#000000##FFFFFF
##4E530F1.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)
#5A4F02
Deuteranopia (green-blind)
#5A5015
Tritanopia (blue-blind)
#544E46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e530f;
/* rgb */ color: rgb(78, 83, 15);
/* oklch */ color: oklch(42.4% 0.087 113.8);
Tailwind
colors: {
  custom: {
    50: '#828354',
    500: '#4e530f',
    950: '#000000',
  },
}
SCSS
$custom: #4e530f;
$custom-light: #828354;
$custom-dark: #000000;
JSON
{
  "hex": "#4e530f",
  "rgb": {
    "r": 78,
    "g": 83,
    "b": 15
  },
  "hsl": {
    "h": 64.412,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.4241,
    "c": 0.08714,
    "h": 113.8
  },
  "luminance": 0.07841
}

Semantic roles & 50–950 ramp

primary
#4E530F
secondary
#38318D
accent
#3CEC49
background
#F8F8F5
surface
#EFEFE8
border
#CACAC4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E530F

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

Preview Lab → · Contrast checker → · Palette generator →

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