#4E4A0F#4E4A0F

#4E4A0F is a dark, moderate yellow. Relative luminance 0.066; OKLCH L 40.1% C 0.077 H 105.4°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#4E4A0F
RGBrgb(78, 74, 15)
HSLhsl(56, 68%, 18%)
HSVhsv(56, 81%, 31%)
CMYKcmyk(0%, 5.1%, 80.8%, 69.4%)
CIE-LABlab(30.76, -6.12, 33.58)
CIE-LCHlch(30.76, 34.13, 100.33°)
OKLaboklab(40.1% -0.0204 0.074)
OKLCHoklch(40.1% 0.077 105.4)
XYZxyz(5.6771, 6.5520, 1.4175)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4A0F #0F134E
analogous
#4E2A0F #4E4A0F #324E0F
triadic
#4E4A0F #0F4E4A #4A0F4E
tetradic
#4E4A0F #0F4E2A #0F134E #4E0F32
square
#4E4A0F #0F4E2A #0F134E #4E0F32
split-complementary
#4E4A0F #0F324E #2A0F4E
monochromatic
#1A1805 #1B1905 #4E4A0F #817B19 #B5AB23

Accessibility & contrast

On white

9.09
#4E4A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4E4A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4A0F
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4A0F#FFFFFF#000000##FFFFFF
##4E4A0F1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514705
Deuteranopia (green-blind)
#534A13
Tritanopia (blue-blind)
#54443F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e4a0f;
/* rgb */ color: rgb(78, 74, 15);
/* oklch */ color: oklch(40.1% 0.077 105.4);
Tailwind
colors: {
  custom: {
    50: '#827c52',
    500: '#4e4a0f',
    950: '#000000',
  },
}
SCSS
$custom: #4e4a0f;
$custom-light: #827c52;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4a0f",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 15
  },
  "hsl": {
    "h": 56.19,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.40104,
    "c": 0.07673,
    "h": 105.4
  },
  "luminance": 0.06552
}

Semantic roles & 50–950 ramp

primary
#4E4A0F
secondary
#313688
accent
#48EB3D
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4E4A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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