#4B5412#4B5412

#4B5412 is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.4% C 0.088 H 117.1°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#4B5412
RGBrgb(75, 84, 18)
HSLhsl(68, 65%, 20%)
HSVhsv(68, 79%, 33%)
CMYKcmyk(10.7%, 0%, 78.6%, 67.1%)
CIE-LABlab(33.73, -13.29, 35.10)
CIE-LCHlch(33.73, 37.54, 110.74°)
OKLaboklab(42.42% -0.0399 0.0779)
OKLCHoklch(42.42% 0.088 117.1)
XYZxyz(6.1813, 7.8802, 1.7676)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5412 #1B1254
analogous
#543C12 #4B5412 #2A5412
triadic
#4B5412 #124B54 #54124B
tetradic
#4B5412 #12543C #1B1254 #54122A
square
#4B5412 #12543C #1B1254 #54122A
split-complementary
#4B5412 #122A54 #3C1254
monochromatic
#161905 #1E2207 #4B5412 #78861D #A5B928

Accessibility & contrast

On white

8.15
#4B5412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4B5412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B5412
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5412#FFFFFF#000000##FFFFFF
##4B54121.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F06
Deuteranopia (green-blind)
#595017
Tritanopia (blue-blind)
#504F47
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4b5412;
/* rgb */ color: rgb(75, 84, 18);
/* oklch */ color: oklch(42.4% 0.088 117.1);
Tailwind
colors: {
  custom: {
    50: '#808455',
    500: '#4b5412',
    950: '#000000',
  },
}
SCSS
$custom: #4b5412;
$custom-light: #808455;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5412",
  "rgb": {
    "r": 75,
    "g": 84,
    "b": 18
  },
  "hsl": {
    "h": 68.182,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.42417,
    "c": 0.08754,
    "h": 117.1
  },
  "luminance": 0.0788
}

Semantic roles & 50–950 ramp

primary
#4B5412
secondary
#41358D
accent
#40E857
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4B5412

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

Preview Lab → · Contrast checker → · Palette generator →

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