#4E5818#4E5818

#4E5818 is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 43.8% C 0.087 H 117.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#4E5818
RGBrgb(78, 88, 24)
HSLhsl(69, 57%, 22%)
HSVhsv(69, 73%, 35%)
CMYKcmyk(11.4%, 0%, 72.7%, 65.5%)
CIE-LABlab(35.33, -13.72, 34.21)
CIE-LCHlch(35.33, 36.86, 111.86°)
OKLaboklab(43.78% -0.0406 0.0771)
OKLCHoklch(43.78% 0.087 117.8)
XYZxyz(6.7966, 8.6652, 2.1785)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5818 #221858
analogous
#584218 #4E5818 #2E5818
triadic
#4E5818 #184E58 #58184E
tetradic
#4E5818 #185842 #221858 #58182E
square
#4E5818 #185842 #221858 #58182E
split-complementary
#4E5818 #182E58 #421858
monochromatic
#151807 #23280B #4E5818 #798825 #A3B832

Accessibility & contrast

On white

7.68
#4E5818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4E5818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5818
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5818#FFFFFF#000000##FFFFFF
##4E58181.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E530F
Deuteranopia (green-blind)
#5D531D
Tritanopia (blue-blind)
#53534B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e5818;
/* rgb */ color: rgb(78, 88, 24);
/* oklch */ color: oklch(43.8% 0.087 117.8);
Tailwind
colors: {
  custom: {
    50: '#828759',
    500: '#4e5818',
    950: '#000000',
  },
}
SCSS
$custom: #4e5818;
$custom-light: #828759;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5818",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 24
  },
  "hsl": {
    "h": 69.375,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.4378,
    "c": 0.08712,
    "h": 117.8
  },
  "luminance": 0.08665
}

Semantic roles & 50–950 ramp

primary
#4E5818
secondary
#4A3D8F
accent
#47E05F
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #4E5818

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

Preview Lab → · Contrast checker → · Palette generator →

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