#4B4812#4B4812

#4B4812 is a dark, moderate yellow. Relative luminance 0.062; OKLCH L 39.3% C 0.073 H 106.2°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#4B4812
RGBrgb(75, 72, 18)
HSLhsl(57, 61%, 18%)
HSVhsv(57, 76%, 29%)
CMYKcmyk(0%, 4%, 76%, 70.6%)
CIE-LABlab(29.85, -6.26, 31.28)
CIE-LCHlch(29.85, 31.90, 101.32°)
OKLaboklab(39.31% -0.0202 0.0699)
OKLCHoklch(39.31% 0.073 106.2)
XYZxyz(5.3284, 6.1744, 1.4833)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4812 #12154B
analogous
#4B2B12 #4B4812 #314B12
triadic
#4B4812 #124B48 #48124B
tetradic
#4B4812 #124B2B #12154B #4B1231
square
#4B4812 #124B2B #12154B #4B1231
split-complementary
#4B4812 #12314B #2B124B
monochromatic
#191806 #1A1906 #4B4812 #7C771E #AEA72A

Accessibility & contrast

On white

9.40
#4B4812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4B4812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B4812
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4812#FFFFFF#000000##FFFFFF
##4B48121.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F450A
Deuteranopia (green-blind)
#504716
Tritanopia (blue-blind)
#51433D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4b4812;
/* rgb */ color: rgb(75, 72, 18);
/* oklch */ color: oklch(39.3% 0.073 106.2);
Tailwind
colors: {
  custom: {
    50: '#7f7a54',
    500: '#4b4812',
    950: '#000000',
  },
}
SCSS
$custom: #4b4812;
$custom-light: #7f7a54;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4812",
  "rgb": {
    "r": 75,
    "g": 72,
    "b": 18
  },
  "hsl": {
    "h": 56.842,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.39309,
    "c": 0.07275,
    "h": 106.2
  },
  "luminance": 0.06174
}

Semantic roles & 50–950 ramp

primary
#4B4812
secondary
#353984
accent
#4CE443
background
#F8F7F4
surface
#EFEDE8
border
#CAC8C4
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #4B4812

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

Preview Lab → · Contrast checker → · Palette generator →

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