#4E5310#4E5310

#4E5310 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#4E5310
RGBrgb(78, 83, 16)
HSLhsl(64, 68%, 19%)
HSVhsv(64, 81%, 33%)
CMYKcmyk(6%, 0%, 80.7%, 67.5%)
CIE-LABlab(33.66, -11.37, 35.91)
CIE-LCHlch(33.66, 37.67, 107.57°)
OKLaboklab(42.42% -0.035 0.0791)
OKLCHoklch(42.42% 0.087 113.8)
XYZxyz(6.3289, 7.8438, 1.6707)
Luminance0.0784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5310 #151053
analogous
#533710 #4E5310 #2D5310
triadic
#4E5310 #104E53 #53104E
tetradic
#4E5310 #105337 #151053 #53102D
square
#4E5310 #105337 #151053 #53102D
split-complementary
#4E5310 #102D53 #371053
monochromatic
#181A05 #1E2006 #4E5310 #7E861A #AEBA24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E5310#FFFFFF#000000##FFFFFF
##4E53101.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)
#5A4F03
Deuteranopia (green-blind)
#5A5016
Tritanopia (blue-blind)
#544E46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e5310;
/* rgb */ color: rgb(78, 83, 16);
/* oklch */ color: oklch(42.4% 0.087 113.8);
Tailwind
colors: {
  custom: {
    50: '#828354',
    500: '#4e5310',
    950: '#000000',
  },
}
SCSS
$custom: #4e5310;
$custom-light: #828354;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5310",
  "rgb": {
    "r": 78,
    "g": 83,
    "b": 16
  },
  "hsl": {
    "h": 64.478,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.42416,
    "c": 0.08651,
    "h": 113.8
  },
  "luminance": 0.07844
}

Semantic roles & 50–950 ramp

primary
#4E5310
secondary
#39328D
accent
#3DEB4A
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E5310

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

Preview Lab → · Contrast checker → · Palette generator →

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