#4E5612#4E5612

#4E5612 is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.2% C 0.089 H 116.2°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#4E5612
RGBrgb(78, 86, 18)
HSLhsl(67, 65%, 20%)
HSVhsv(67, 79%, 34%)
CMYKcmyk(9.3%, 0%, 79.1%, 66.3%)
CIE-LABlab(34.64, -12.98, 36.07)
CIE-LCHlch(34.64, 38.33, 109.79°)
OKLaboklab(43.21% -0.0392 0.0799)
OKLCHoklch(43.21% 0.089 116.2)
XYZxyz(6.5790, 8.3190, 1.8313)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5612 #1A1256
analogous
#563C12 #4E5612 #2C5612
triadic
#4E5612 #124E56 #56124E
tetradic
#4E5612 #12563C #1A1256 #56122C
square
#4E5612 #12563C #1A1256 #56122C
split-complementary
#4E5612 #122C56 #3C1256
monochromatic
#171905 #202307 #4E5612 #7C891D #AABB27

Accessibility & contrast

On white

7.88
#4E5612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4E5612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5612
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5612#FFFFFF#000000##FFFFFF
##4E56121.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5105
Deuteranopia (green-blind)
#5C5218
Tritanopia (blue-blind)
#535149
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e5612;
/* rgb */ color: rgb(78, 86, 18);
/* oklch */ color: oklch(43.2% 0.089 116.2);
Tailwind
colors: {
  custom: {
    50: '#828556',
    500: '#4e5612',
    950: '#000000',
  },
}
SCSS
$custom: #4e5612;
$custom-light: #828556;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5612",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 67.059,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.4321,
    "c": 0.08896,
    "h": 116.2
  },
  "luminance": 0.08319
}

Semantic roles & 50–950 ramp

primary
#4E5612
secondary
#40358F
accent
#3FE853
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4E5612

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

Preview Lab → · Contrast checker → · Palette generator →

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