#4E5412#4E5412

#4E5412 is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 42.7% C 0.086 H 114.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#4E5412
RGBrgb(78, 84, 18)
HSLhsl(65, 65%, 20%)
HSVhsv(65, 79%, 33%)
CMYKcmyk(7.1%, 0%, 78.6%, 67.1%)
CIE-LABlab(33.99, -11.84, 35.44)
CIE-LCHlch(33.99, 37.37, 108.47°)
OKLaboklab(42.69% -0.036 0.0785)
OKLCHoklch(42.69% 0.086 114.7)
XYZxyz(6.4216, 8.0041, 1.7788)
Luminance0.0800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5412 #181254
analogous
#543912 #4E5412 #2D5412
triadic
#4E5412 #124E54 #54124E
tetradic
#4E5412 #125439 #181254 #54122D
square
#4E5412 #125439 #181254 #54122D
split-complementary
#4E5412 #122D54 #391254
monochromatic
#171905 #1F2207 #4E5412 #7D861D #ACB928

Accessibility & contrast

On white

8.07
#4E5412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4E5412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5412
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5412#FFFFFF#000000##FFFFFF
##4E54121.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B4F06
Deuteranopia (green-blind)
#5A5017
Tritanopia (blue-blind)
#544F47
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e5412;
/* rgb */ color: rgb(78, 84, 18);
/* oklch */ color: oklch(42.7% 0.086 114.7);
Tailwind
colors: {
  custom: {
    50: '#828455',
    500: '#4e5412',
    950: '#000000',
  },
}
SCSS
$custom: #4e5412;
$custom-light: #828455;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5412",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 18
  },
  "hsl": {
    "h": 65.455,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.4269,
    "c": 0.08642,
    "h": 114.7
  },
  "luminance": 0.08004
}

Semantic roles & 50–950 ramp

primary
#4E5412
secondary
#3D358D
accent
#40E84F
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E5412

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

Preview Lab → · Contrast checker → · Palette generator →

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