#4B4E0F#4B4E0F

#4B4E0F is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 40.8% C 0.082 H 112.3°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#4B4E0F
RGBrgb(75, 78, 15)
HSLhsl(63, 68%, 18%)
HSVhsv(63, 81%, 31%)
CMYKcmyk(3.8%, 0%, 80.8%, 69.4%)
CIE-LABlab(31.76, -10.01, 34.42)
CIE-LCHlch(31.76, 35.85, 106.21°)
OKLaboklab(40.83% -0.0311 0.0759)
OKLCHoklch(40.83% 0.082 112.3)
XYZxyz(5.7124, 6.9793, 1.4981)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4E0F #120F4E
analogous
#4E310F #4B4E0F #2B4E0F
triadic
#4B4E0F #0F4B4E #4E0F4B
tetradic
#4B4E0F #0F4E31 #120F4E #4E0F2B
square
#4B4E0F #0F4E31 #120F4E #4E0F2B
split-complementary
#4B4E0F #0F2B4E #310F4E
monochromatic
#191A05 #1A1B05 #4B4E0F #7C8119 #AEB523

Accessibility & contrast

On white

8.77
#4B4E0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4B4E0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B4E0F
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4E0F#FFFFFF#000000##FFFFFF
##4B4E0F1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A04
Deuteranopia (green-blind)
#554B14
Tritanopia (blue-blind)
#514942
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4b4e0f;
/* rgb */ color: rgb(75, 78, 15);
/* oklch */ color: oklch(40.8% 0.082 112.3);
Tailwind
colors: {
  custom: {
    50: '#807f53',
    500: '#4b4e0f',
    950: '#000000',
  },
}
SCSS
$custom: #4b4e0f;
$custom-light: #807f53;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4e0f",
  "rgb": {
    "r": 75,
    "g": 78,
    "b": 15
  },
  "hsl": {
    "h": 62.857,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.40829,
    "c": 0.082,
    "h": 112.3
  },
  "luminance": 0.06979
}

Semantic roles & 50–950 ramp

primary
#4B4E0F
secondary
#353188
accent
#3DEB45
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4B4E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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