#4E5026#4E5026

#4E5026 is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.9% C 0.062 H 111.2°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#4E5026
RGBrgb(78, 80, 38)
HSLhsl(63, 36%, 23%)
HSVhsv(63, 53%, 31%)
CMYKcmyk(2.5%, 0%, 52.5%, 68.6%)
CIE-LABlab(32.91, -7.83, 24.29)
CIE-LCHlch(32.91, 25.53, 107.87°)
OKLaboklab(41.89% -0.0224 0.0578)
OKLCHoklch(41.89% 0.062 111.2)
XYZxyz(6.3605, 7.4971, 2.9454)
Luminance0.0750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5026 #282650
analogous
#503D26 #4E5026 #395026
triadic
#4E5026 #264E50 #50264E
tetradic
#4E5026 #26503D #282650 #502639
square
#4E5026 #26503D #282650 #502639
split-complementary
#4E5026 #263950 #3D2650
monochromatic
#14150A #262712 #4E5026 #76793A #9FA34D

Accessibility & contrast

On white

8.40
#4E5026 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4E5026 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5026
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5026#FFFFFF#000000##FFFFFF
##4E50261.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D22
Deuteranopia (green-blind)
#564E28
Tritanopia (blue-blind)
#534C46
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e5026;
/* rgb */ color: rgb(78, 80, 38);
/* oklch */ color: oklch(41.9% 0.062 111.2);
Tailwind
colors: {
  custom: {
    50: '#818161',
    500: '#4e5026',
    950: '#000000',
  },
}
SCSS
$custom: #4e5026;
$custom-light: #818161;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5026",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 38
  },
  "hsl": {
    "h": 62.857,
    "s": 35.593,
    "l": 23.137
  },
  "oklch": {
    "l": 0.41893,
    "c": 0.06198,
    "h": 111.2
  },
  "luminance": 0.07497
}

Semantic roles & 50–950 ramp

primary
#4E5026
secondary
#514F83
accent
#5CCC61
background
#F7F7F5
surface
#EEEEEA
border
#C9C9C6
text
#0A0A05
muted
#7C7C79

Preview Lab

Preview with #4E5026

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

Preview Lab → · Contrast checker → · Palette generator →

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