#4B510C#4B510C

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

Color values

HEX#4B510C
RGBrgb(75, 81, 12)
HSLhsl(65, 74%, 18%)
HSVhsv(65, 85%, 32%)
CMYKcmyk(7.4%, 0%, 85.2%, 68.2%)
CIE-LABlab(32.72, -11.89, 36.41)
CIE-LCHlch(32.72, 38.31, 108.09°)
OKLaboklab(41.59% -0.0366 0.0795)
OKLCHoklch(41.59% 0.088 114.7)
XYZxyz(5.9106, 7.4074, 1.4662)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B510C #120C51
analogous
#51340C #4B510C #28510C
triadic
#4B510C #0C4B51 #510C4B
tetradic
#4B510C #0C5134 #120C51 #510C28
square
#4B510C #0C5134 #120C51 #510C28
split-complementary
#4B510C #0C2851 #340C51
monochromatic
#191B04 #1A1C04 #4B510C #7C8614 #AEBC1C

Accessibility & contrast

On white

8.46
#4B510C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B510C
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B510C#FFFFFF#000000##FFFFFF
##4B510C1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584C00
Deuteranopia (green-blind)
#574E12
Tritanopia (blue-blind)
#514C44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4b510c;
/* rgb */ color: rgb(75, 81, 12);
/* oklch */ color: oklch(41.6% 0.088 114.7);
Tailwind
colors: {
  custom: {
    50: '#808152',
    500: '#4b510c',
    950: '#000000',
  },
}
SCSS
$custom: #4b510c;
$custom-light: #808152;
$custom-dark: #000000;
JSON
{
  "hex": "#4b510c",
  "rgb": {
    "r": 75,
    "g": 81,
    "b": 12
  },
  "hsl": {
    "h": 65.217,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.4159,
    "c": 0.08751,
    "h": 114.7
  },
  "luminance": 0.07407
}

Semantic roles & 50–950 ramp

primary
#4B510C
secondary
#352C8C
accent
#37F147
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0A0A02
muted
#7C7C78

Preview Lab

Preview with #4B510C

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

Preview Lab → · Contrast checker → · Palette generator →

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