#4B4D18#4B4D18

#4B4D18 is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 40.7% C 0.074 H 111.3°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#4B4D18
RGBrgb(75, 77, 24)
HSLhsl(62, 52%, 20%)
HSVhsv(62, 69%, 30%)
CMYKcmyk(2.6%, 0%, 68.8%, 69.8%)
CIE-LABlab(31.51, -8.83, 30.14)
CIE-LCHlch(31.51, 31.41, 106.33°)
OKLaboklab(40.65% -0.0267 0.0686)
OKLCHoklch(40.65% 0.074 111.3)
XYZxyz(5.7206, 6.8697, 1.8886)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4D18 #1A184D
analogous
#4D3518 #4B4D18 #314D18
triadic
#4B4D18 #184B4D #4D184B
tetradic
#4B4D18 #184D35 #1A184D #4D1831
square
#4B4D18 #184D35 #1A184D #4D1831
split-complementary
#4B4D18 #18314D #35184D
monochromatic
#171707 #1E1E09 #4B4D18 #787C27 #A6AA35

Accessibility & contrast

On white

8.85
#4B4D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4B4D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B4D18
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4D18#FFFFFF#000000##FFFFFF
##4B4D181.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534911
Deuteranopia (green-blind)
#544B1B
Tritanopia (blue-blind)
#504842
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4b4d18;
/* rgb */ color: rgb(75, 77, 24);
/* oklch */ color: oklch(40.7% 0.074 111.3);
Tailwind
colors: {
  custom: {
    50: '#7f7e58',
    500: '#4b4d18',
    950: '#000000',
  },
}
SCSS
$custom: #4b4d18;
$custom-light: #7f7e58;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4d18",
  "rgb": {
    "r": 75,
    "g": 77,
    "b": 24
  },
  "hsl": {
    "h": 62.264,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40651,
    "c": 0.0736,
    "h": 111.3
  },
  "luminance": 0.0687
}

Semantic roles & 50–950 ramp

primary
#4B4D18
secondary
#403D84
accent
#4CDC51
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4B4D18

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

Preview Lab → · Contrast checker → · Palette generator →

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