#4E5A0E#4E5A0E

#4E5A0E is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.2% C 0.097 H 118.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#4E5A0E
RGBrgb(78, 90, 14)
HSLhsl(69, 73%, 20%)
HSVhsv(69, 84%, 35%)
CMYKcmyk(13.3%, 0%, 84.4%, 64.7%)
CIE-LABlab(35.91, -15.42, 38.72)
CIE-LCHlch(35.91, 41.67, 111.71°)
OKLaboklab(44.23% -0.0463 0.0847)
OKLCHoklch(44.23% 0.097 118.7)
XYZxyz(6.8775, 8.9638, 1.7833)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5A0E #1A0E5A
analogous
#5A400E #4E5A0E #285A0E
triadic
#4E5A0E #0E4E5A #5A0E4E
tetradic
#4E5A0E #0E5A40 #1A0E5A #5A0E28
square
#4E5A0E #0E5A40 #1A0E5A #5A0E28
split-complementary
#4E5A0E #0E285A #400E5A
monochromatic
#171A04 #202506 #4E5A0E #7C8F16 #AAC41E

Accessibility & contrast

On white

7.52
#4E5A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4E5A0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5A0E
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5A0E#FFFFFF#000000##FFFFFF
##4E5A0E1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615400
Deuteranopia (green-blind)
#5F5515
Tritanopia (blue-blind)
#53554C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e5a0e;
/* rgb */ color: rgb(78, 90, 14);
/* oklch */ color: oklch(44.2% 0.097 118.7);
Tailwind
colors: {
  custom: {
    50: '#828854',
    500: '#4e5a0e',
    950: '#000000',
  },
}
SCSS
$custom: #4e5a0e;
$custom-light: #828854;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5a0e",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 14
  },
  "hsl": {
    "h": 69.474,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.44228,
    "c": 0.09651,
    "h": 118.7
  },
  "luminance": 0.08964
}

Semantic roles & 50–950 ramp

primary
#4E5A0E
secondary
#403094
accent
#38F055
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4E5A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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