#4E5124#4E5124

#4E5124 is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.1% C 0.066 H 112.3°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#4E5124
RGBrgb(78, 81, 36)
HSLhsl(64, 38%, 23%)
HSVhsv(64, 56%, 32%)
CMYKcmyk(3.7%, 0%, 55.6%, 68.2%)
CIE-LABlab(33.20, -8.64, 25.77)
CIE-LCHlch(33.20, 27.18, 108.54°)
OKLaboklab(42.12% -0.0249 0.0608)
OKLCHoklch(42.12% 0.066 112.3)
XYZxyz(6.4029, 7.6321, 2.8046)
Luminance0.0763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5124 #272451
analogous
#513D24 #4E5124 #375124
triadic
#4E5124 #244E51 #51244E
tetradic
#4E5124 #24513D #272451 #512437
square
#4E5124 #24513D #272451 #512437
split-complementary
#4E5124 #243751 #3D2451
monochromatic
#141509 #252711 #4E5124 #777B37 #A0A64A

Accessibility & contrast

On white

8.31
#4E5124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4E5124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5124
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5124#FFFFFF#000000##FFFFFF
##4E51241.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D20
Deuteranopia (green-blind)
#574F26
Tritanopia (blue-blind)
#534C47
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e5124;
/* rgb */ color: rgb(78, 81, 36);
/* oklch */ color: oklch(42.1% 0.066 112.3);
Tailwind
colors: {
  custom: {
    50: '#818160',
    500: '#4e5124',
    950: '#000000',
  },
}
SCSS
$custom: #4e5124;
$custom-light: #818160;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5124",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 36
  },
  "hsl": {
    "h": 64,
    "s": 38.462,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42117,
    "c": 0.06572,
    "h": 112.3
  },
  "luminance": 0.07632
}

Semantic roles & 50–950 ramp

primary
#4E5124
secondary
#504C85
accent
#59CE61
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A05
muted
#7C7C79

Preview Lab

Preview with #4E5124

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

Preview Lab → · Contrast checker → · Palette generator →

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