#4B4012#4B4012

#4B4012 is a dark, moderate yellow. Relative luminance 0.052; OKLCH L 37.3% C 0.065 H 95.5°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#4B4012
RGBrgb(75, 64, 18)
HSLhsl(48, 61%, 18%)
HSVhsv(48, 76%, 29%)
CMYKcmyk(0%, 14.7%, 76%, 70.6%)
CIE-LABlab(27.32, -1.32, 28.72)
CIE-LCHlch(27.32, 28.75, 92.63°)
OKLaboklab(37.3% -0.0062 0.0644)
OKLCHoklch(37.3% 0.065 95.5)
XYZxyz(4.8445, 5.2066, 1.3219)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4012 #121D4B
analogous
#4B2312 #4B4012 #394B12
triadic
#4B4012 #124B40 #40124B
tetradic
#4B4012 #124B23 #121D4B #4B1239
square
#4B4012 #124B23 #121D4B #4B1239
split-complementary
#4B4012 #12394B #23124B
monochromatic
#191506 #1A1606 #4B4012 #7C6A1E #AE942A

Accessibility & contrast

On white

10.29
#4B4012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4B4012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B4012
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4012#FFFFFF#000000##FFFFFF
##4B40121.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F0C
Deuteranopia (green-blind)
#4A4214
Tritanopia (blue-blind)
#513B37
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b4012;
/* rgb */ color: rgb(75, 64, 18);
/* oklch */ color: oklch(37.3% 0.065 95.5);
Tailwind
colors: {
  custom: {
    50: '#807453',
    500: '#4b4012',
    950: '#000000',
  },
}
SCSS
$custom: #4b4012;
$custom-light: #807453;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4012",
  "rgb": {
    "r": 75,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 48.421,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37298,
    "c": 0.06475,
    "h": 95.5
  },
  "luminance": 0.05206
}

Semantic roles & 50–950 ramp

primary
#4B4012
secondary
#354484
accent
#62E443
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4B4012

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

Preview Lab → · Contrast checker → · Palette generator →

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