#4B4F18#4B4F18

#4B4F18 is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.2% C 0.076 H 113.2°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#4B4F18
RGBrgb(75, 79, 24)
HSLhsl(64, 53%, 20%)
HSVhsv(64, 70%, 31%)
CMYKcmyk(5.1%, 0%, 69.6%, 69%)
CIE-LABlab(32.15, -10.01, 30.82)
CIE-LCHlch(32.15, 32.41, 107.99°)
OKLaboklab(41.17% -0.0301 0.07)
OKLCHoklch(41.17% 0.076 113.2)
XYZxyz(5.8627, 7.1539, 1.9360)
Luminance0.0715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4F18 #1C184F
analogous
#4F3818 #4B4F18 #2F4F18
triadic
#4B4F18 #184B4F #4F184B
tetradic
#4B4F18 #184F38 #1C184F #4F182F
square
#4B4F18 #184F38 #1C184F #4F182F
split-complementary
#4B4F18 #182F4F #38184F
monochromatic
#161707 #1E200A #4B4F18 #787E26 #A4AD35

Accessibility & contrast

On white

8.64
#4B4F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4B4F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B4F18
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4F18#FFFFFF#000000##FFFFFF
##4B4F181.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B11
Deuteranopia (green-blind)
#554C1C
Tritanopia (blue-blind)
#504A44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4b4f18;
/* rgb */ color: rgb(75, 79, 24);
/* oklch */ color: oklch(41.2% 0.076 113.2);
Tailwind
colors: {
  custom: {
    50: '#7f8058',
    500: '#4b4f18',
    950: '#000000',
  },
}
SCSS
$custom: #4b4f18;
$custom-light: #7f8058;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4f18",
  "rgb": {
    "r": 75,
    "g": 79,
    "b": 24
  },
  "hsl": {
    "h": 64.364,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41168,
    "c": 0.0762,
    "h": 113.2
  },
  "luminance": 0.07154
}

Semantic roles & 50–950 ramp

primary
#4B4F18
secondary
#423D86
accent
#4BDD56
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4B4F18

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

Preview Lab → · Contrast checker → · Palette generator →

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