#4E5115#4E5115

#4E5115 is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 41.9% C 0.080 H 112.2°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#4E5115
RGBrgb(78, 81, 21)
HSLhsl(63, 59%, 20%)
HSVhsv(63, 74%, 32%)
CMYKcmyk(3.7%, 0%, 74.1%, 68.2%)
CIE-LABlab(33.05, -9.92, 33.23)
CIE-LCHlch(33.05, 34.68, 106.62°)
OKLaboklab(41.94% -0.0304 0.0745)
OKLCHoklch(41.94% 0.08 112.2)
XYZxyz(6.2199, 7.5588, 1.8407)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5115 #181551
analogous
#513615 #4E5115 #305115
triadic
#4E5115 #154E51 #51154E
tetradic
#4E5115 #155136 #181551 #511530
square
#4E5115 #155136 #181551 #511530
split-complementary
#4E5115 #153051 #361551
monochromatic
#171806 #1F2008 #4E5115 #7D8222 #ACB22E

Accessibility & contrast

On white

8.36
#4E5115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4E5115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5115
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5115#FFFFFF#000000##FFFFFF
##4E51151.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0C
Deuteranopia (green-blind)
#584E19
Tritanopia (blue-blind)
#544C45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e5115;
/* rgb */ color: rgb(78, 81, 21);
/* oklch */ color: oklch(41.9% 0.080 112.2);
Tailwind
colors: {
  custom: {
    50: '#828157',
    500: '#4e5115',
    950: '#000000',
  },
}
SCSS
$custom: #4e5115;
$custom-light: #828157;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5115",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 21
  },
  "hsl": {
    "h": 63,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.4194,
    "c": 0.08042,
    "h": 112.2
  },
  "luminance": 0.07559
}

Semantic roles & 50–950 ramp

primary
#4E5115
secondary
#3D3989
accent
#46E24E
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E5115

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

Preview Lab → · Contrast checker → · Palette generator →

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