#4B5612#4B5612

#4B5612 is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 42.9% C 0.090 H 118.5°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#4B5612
RGBrgb(75, 86, 18)
HSLhsl(70, 65%, 20%)
HSVhsv(70, 79%, 34%)
CMYKcmyk(12.8%, 0%, 79.1%, 66.3%)
CIE-LABlab(34.39, -14.42, 35.74)
CIE-LCHlch(34.39, 38.53, 111.97°)
OKLaboklab(42.94% -0.043 0.0793)
OKLCHoklch(42.94% 0.09 118.5)
XYZxyz(6.3388, 8.1952, 1.8200)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5612 #1D1256
analogous
#563F12 #4B5612 #295612
triadic
#4B5612 #124B56 #56124B
tetradic
#4B5612 #12563F #1D1256 #561229
square
#4B5612 #12563F #1D1256 #561229
split-complementary
#4B5612 #122956 #3F1256
monochromatic
#161905 #1F2307 #4B5612 #77891D #A3BB27

Accessibility & contrast

On white

7.96
#4B5612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4B5612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B5612
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5612#FFFFFF#000000##FFFFFF
##4B56121.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5105
Deuteranopia (green-blind)
#5B5118
Tritanopia (blue-blind)
#505149
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4b5612;
/* rgb */ color: rgb(75, 86, 18);
/* oklch */ color: oklch(42.9% 0.090 118.5);
Tailwind
colors: {
  custom: {
    50: '#808556',
    500: '#4b5612',
    950: '#000000',
  },
}
SCSS
$custom: #4b5612;
$custom-light: #808556;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5612",
  "rgb": {
    "r": 75,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 69.706,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.42943,
    "c": 0.09016,
    "h": 118.5
  },
  "luminance": 0.08195
}

Semantic roles & 50–950 ramp

primary
#4B5612
secondary
#44358F
accent
#3FE85B
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4B5612

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

Preview Lab → · Contrast checker → · Palette generator →

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