#4E5A0C#4E5A0C

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

Color values

HEX#4E5A0C
RGBrgb(78, 90, 12)
HSLhsl(69, 76%, 20%)
HSVhsv(69, 87%, 35%)
CMYKcmyk(13.3%, 0%, 86.7%, 64.7%)
CIE-LABlab(35.90, -15.50, 39.35)
CIE-LCHlch(35.90, 42.30, 111.50°)
OKLaboklab(44.22% -0.0467 0.0856)
OKLCHoklch(44.22% 0.098 118.6)
XYZxyz(6.8646, 8.9586, 1.7153)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5A0C #180C5A
analogous
#5A3F0C #4E5A0C #275A0C
triadic
#4E5A0C #0C4E5A #5A0C4E
tetradic
#4E5A0C #0C5A3F #180C5A #5A0C27
square
#4E5A0C #0C5A3F #180C5A #5A0C27
split-complementary
#4E5A0C #0C275A #3F0C5A
monochromatic
#171B04 #1F2405 #4E5A0C #7D9013 #ACC61A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E5A0C#FFFFFF#000000##FFFFFF
##4E5A0C1.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)
#5F5514
Tritanopia (blue-blind)
#53544C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e5a0c;
/* rgb */ color: rgb(78, 90, 12);
/* oklch */ color: oklch(44.2% 0.098 118.6);
Tailwind
colors: {
  custom: {
    50: '#828854',
    500: '#4e5a0c',
    950: '#000000',
  },
}
SCSS
$custom: #4e5a0c;
$custom-light: #828854;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5a0c",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 12
  },
  "hsl": {
    "h": 69.231,
    "s": 76.471,
    "l": 20
  },
  "oklch": {
    "l": 0.44217,
    "c": 0.09755,
    "h": 118.6
  },
  "luminance": 0.08959
}

Semantic roles & 50–950 ramp

primary
#4E5A0C
secondary
#3D2D95
accent
#35F352
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4E5A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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