#4E5712#4E5712

#4E5712 is a dark, moderate yellow. Relative luminance 0.085; OKLCH L 43.5% C 0.090 H 116.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#4E5712
RGBrgb(78, 87, 18)
HSLhsl(68, 66%, 21%)
HSVhsv(68, 79%, 34%)
CMYKcmyk(10.3%, 0%, 79.3%, 65.9%)
CIE-LABlab(34.96, -13.54, 36.38)
CIE-LCHlch(34.96, 38.81, 110.42°)
OKLaboklab(43.47% -0.0408 0.0805)
OKLCHoklch(43.47% 0.09 116.9)
XYZxyz(6.6594, 8.4798, 1.8581)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5712 #1B1257
analogous
#573D12 #4E5712 #2B5712
triadic
#4E5712 #124E57 #57124E
tetradic
#4E5712 #12573D #1B1257 #57122B
square
#4E5712 #12573D #1B1257 #57122B
split-complementary
#4E5712 #122B57 #3D1257
monochromatic
#171905 #212408 #4E5712 #7B8A1C #A9BC27

Accessibility & contrast

On white

7.79
#4E5712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4E5712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5712
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5712#FFFFFF#000000##FFFFFF
##4E57121.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5205
Deuteranopia (green-blind)
#5D5318
Tritanopia (blue-blind)
#53524A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e5712;
/* rgb */ color: rgb(78, 87, 18);
/* oklch */ color: oklch(43.5% 0.090 116.9);
Tailwind
colors: {
  custom: {
    50: '#828656',
    500: '#4e5712',
    950: '#000000',
  },
}
SCSS
$custom: #4e5712;
$custom-light: #828656;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5712",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 67.826,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.4347,
    "c": 0.09024,
    "h": 116.9
  },
  "luminance": 0.0848
}

Semantic roles & 50–950 ramp

primary
#4E5712
secondary
#413590
accent
#3FE955
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4E5712

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

Preview Lab → · Contrast checker → · Palette generator →

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