#4E5A0F#4E5A0F

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

Color values

HEX#4E5A0F
RGBrgb(78, 90, 15)
HSLhsl(70, 71%, 21%)
HSVhsv(70, 83%, 35%)
CMYKcmyk(13.3%, 0%, 83.3%, 64.7%)
CIE-LABlab(35.92, -15.37, 38.38)
CIE-LCHlch(35.92, 41.34, 111.82°)
OKLaboklab(44.23% -0.0461 0.0842)
OKLCHoklch(44.23% 0.096 118.7)
XYZxyz(6.8844, 8.9666, 1.8199)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5A0F #1B0F5A
analogous
#5A400F #4E5A0F #285A0F
triadic
#4E5A0F #0F4E5A #5A0F4E
tetradic
#4E5A0F #0F5A40 #1B0F5A #5A0F28
square
#4E5A0F #0F5A40 #1B0F5A #5A0F28
split-complementary
#4E5A0F #0F285A #400F5A
monochromatic
#171A04 #212606 #4E5A0F #7B8E18 #A9C320

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E5A0F#FFFFFF#000000##FFFFFF
##4E5A0F1.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)
#605400
Deuteranopia (green-blind)
#5F5516
Tritanopia (blue-blind)
#53554C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e5a0f;
/* rgb */ color: rgb(78, 90, 15);
/* oklch */ color: oklch(44.2% 0.096 118.7);
Tailwind
colors: {
  custom: {
    50: '#828855',
    500: '#4e5a0f',
    950: '#000000',
  },
}
SCSS
$custom: #4e5a0f;
$custom-light: #828855;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5a0f",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 15
  },
  "hsl": {
    "h": 69.6,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.44234,
    "c": 0.09595,
    "h": 118.7
  },
  "luminance": 0.08967
}

Semantic roles & 50–950 ramp

primary
#4E5A0F
secondary
#413194
accent
#3AEE57
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4E5A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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