#4E5625#4E5625

#4E5625 is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.4% C 0.072 H 117.2°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#4E5625
RGBrgb(78, 86, 37)
HSLhsl(70, 40%, 24%)
HSVhsv(70, 57%, 34%)
CMYKcmyk(9.3%, 0%, 57%, 66.3%)
CIE-LABlab(34.82, -11.45, 27.12)
CIE-LCHlch(34.82, 29.43, 112.89°)
OKLaboklab(43.41% -0.0328 0.0638)
OKLCHoklch(43.41% 0.072 117.2)
XYZxyz(6.8037, 8.4089, 3.0146)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5625 #2D2556
analogous
#564625 #4E5625 #365625
triadic
#4E5625 #254E56 #56254E
tetradic
#4E5625 #255646 #2D2556 #562536
square
#4E5625 #255646 #2D2556 #562536
split-complementary
#4E5625 #253656 #462556
monochromatic
#131509 #272B13 #4E5625 #758137 #9CAC4A

Accessibility & contrast

On white

7.83
#4E5625 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4E5625 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5625
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5625#FFFFFF#000000##FFFFFF
##4E56251.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5220
Deuteranopia (green-blind)
#5B5228
Tritanopia (blue-blind)
#52524B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e5625;
/* rgb */ color: rgb(78, 86, 37);
/* oklch */ color: oklch(43.4% 0.072 117.2);
Tailwind
colors: {
  custom: {
    50: '#818561',
    500: '#4e5625',
    950: '#000000',
  },
}
SCSS
$custom: #4e5625;
$custom-light: #818561;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5625",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 37
  },
  "hsl": {
    "h": 69.796,
    "s": 39.837,
    "l": 24.118
  },
  "oklch": {
    "l": 0.43414,
    "c": 0.07176,
    "h": 117.2
  },
  "luminance": 0.08409
}

Semantic roles & 50–950 ramp

primary
#4E5625
secondary
#574D89
accent
#58D06C
background
#F7F8F5
surface
#EEEFEA
border
#C9CAC6
text
#0A0B05
muted
#7C7C79

Preview Lab

Preview with #4E5625

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

Preview Lab → · Contrast checker → · Palette generator →

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