#4B4E17#4B4E17

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

Color values

HEX#4B4E17
RGBrgb(75, 78, 23)
HSLhsl(63, 54%, 20%)
HSVhsv(63, 71%, 31%)
CMYKcmyk(3.8%, 0%, 70.5%, 69.4%)
CIE-LABlab(31.82, -9.50, 30.96)
CIE-LCHlch(31.82, 32.38, 107.05°)
OKLaboklab(40.9% -0.0287 0.0701)
OKLCHoklch(40.9% 0.076 112.3)
XYZxyz(5.7809, 7.0066, 1.8583)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4E17 #1A174E
analogous
#4E3617 #4B4E17 #2F4E17
triadic
#4B4E17 #174B4E #4E174B
tetradic
#4B4E17 #174E36 #1A174E #4E172F
square
#4B4E17 #174E36 #1A174E #4E172F
split-complementary
#4B4E17 #172F4E #36174E
monochromatic
#171807 #1E1F09 #4B4E17 #787D25 #A6AD33

Accessibility & contrast

On white

8.75
#4B4E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B4E17
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4E17#FFFFFF#000000##FFFFFF
##4B4E171.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A10
Deuteranopia (green-blind)
#544C1B
Tritanopia (blue-blind)
#504943
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4b4e17;
/* rgb */ color: rgb(75, 78, 23);
/* oklch */ color: oklch(40.9% 0.076 112.3);
Tailwind
colors: {
  custom: {
    50: '#7f7f57',
    500: '#4b4e17',
    950: '#000000',
  },
}
SCSS
$custom: #4b4e17;
$custom-light: #7f7f57;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4e17",
  "rgb": {
    "r": 75,
    "g": 78,
    "b": 23
  },
  "hsl": {
    "h": 63.273,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40899,
    "c": 0.07579,
    "h": 112.3
  },
  "luminance": 0.07006
}

Semantic roles & 50–950 ramp

primary
#4B4E17
secondary
#403C85
accent
#4ADE52
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4B4E17

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

Preview Lab → · Contrast checker → · Palette generator →

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