#4B4E12#4B4E12

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

Color values

HEX#4B4E12
RGBrgb(75, 78, 18)
HSLhsl(63, 63%, 19%)
HSVhsv(63, 77%, 31%)
CMYKcmyk(3.8%, 0%, 76.9%, 69.4%)
CIE-LABlab(31.78, -9.83, 33.20)
CIE-LCHlch(31.78, 34.63, 106.50°)
OKLaboklab(40.85% -0.0303 0.0739)
OKLCHoklch(40.85% 0.08 112.3)
XYZxyz(5.7354, 6.9884, 1.6189)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4E12 #15124E
analogous
#4E3312 #4B4E12 #2D4E12
triadic
#4B4E12 #124B4E #4E124B
tetradic
#4B4E12 #124E33 #15124E #4E122D
square
#4B4E12 #124E33 #15124E #4E122D
split-complementary
#4B4E12 #122D4E #33124E
monochromatic
#181906 #1B1C07 #4B4E12 #7B801D #ABB129

Accessibility & contrast

On white

8.76
#4B4E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B4E12
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4E12#FFFFFF#000000##FFFFFF
##4B4E121.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A08
Deuteranopia (green-blind)
#554B17
Tritanopia (blue-blind)
#514942
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4b4e12;
/* rgb */ color: rgb(75, 78, 18);
/* oklch */ color: oklch(40.9% 0.080 112.3);
Tailwind
colors: {
  custom: {
    50: '#7f7f54',
    500: '#4b4e12',
    950: '#000000',
  },
}
SCSS
$custom: #4b4e12;
$custom-light: #7f7f54;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4e12",
  "rgb": {
    "r": 75,
    "g": 78,
    "b": 18
  },
  "hsl": {
    "h": 63,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.40852,
    "c": 0.07987,
    "h": 112.3
  },
  "luminance": 0.06988
}

Semantic roles & 50–950 ramp

primary
#4B4E12
secondary
#393587
accent
#42E64A
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4B4E12

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

Preview Lab → · Contrast checker → · Palette generator →

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