#4B5111#4B5111

#4B5111 is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.6% C 0.084 H 114.8°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#4B5111
RGBrgb(75, 81, 17)
HSLhsl(66, 65%, 19%)
HSVhsv(66, 79%, 32%)
CMYKcmyk(7.4%, 0%, 79%, 68.2%)
CIE-LABlab(32.75, -11.64, 34.56)
CIE-LCHlch(32.75, 36.47, 108.61°)
OKLaboklab(41.63% -0.0354 0.0766)
OKLCHoklch(41.63% 0.084 114.8)
XYZxyz(5.9454, 7.4213, 1.6495)
Luminance0.0742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5111 #171151
analogous
#513711 #4B5111 #2B5111
triadic
#4B5111 #114B51 #51114B
tetradic
#4B5111 #115137 #171151 #51112B
square
#4B5111 #115137 #171151 #51112B
split-complementary
#4B5111 #112B51 #371151
monochromatic
#171905 #1C1E06 #4B5111 #7A841C #A9B626

Accessibility & contrast

On white

8.45
#4B5111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4B5111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B5111
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5111#FFFFFF#000000##FFFFFF
##4B51111.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D05
Deuteranopia (green-blind)
#574E16
Tritanopia (blue-blind)
#504C45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4b5111;
/* rgb */ color: rgb(75, 81, 17);
/* oklch */ color: oklch(41.6% 0.084 114.8);
Tailwind
colors: {
  custom: {
    50: '#808154',
    500: '#4b5111',
    950: '#000000',
  },
}
SCSS
$custom: #4b5111;
$custom-light: #808154;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5111",
  "rgb": {
    "r": 75,
    "g": 81,
    "b": 17
  },
  "hsl": {
    "h": 65.625,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.41625,
    "c": 0.08437,
    "h": 114.8
  },
  "luminance": 0.07421
}

Semantic roles & 50–950 ramp

primary
#4B5111
secondary
#3C348A
accent
#40E84F
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4B5111

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

Preview Lab → · Contrast checker → · Palette generator →

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