#4B5210#4B5210

#4B5210 is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 41.9% C 0.086 H 115.6°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#4B5210
RGBrgb(75, 82, 16)
HSLhsl(66, 67%, 19%)
HSVhsv(66, 80%, 32%)
CMYKcmyk(8.5%, 0%, 80.5%, 67.8%)
CIE-LABlab(33.07, -12.27, 35.26)
CIE-LCHlch(33.07, 37.34, 109.18°)
OKLaboklab(41.88% -0.0372 0.0779)
OKLCHoklch(41.88% 0.086 115.6)
XYZxyz(6.0126, 7.5679, 1.6341)
Luminance0.0757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5210 #171052
analogous
#523810 #4B5210 #2A5210
triadic
#4B5210 #104B52 #52104B
tetradic
#4B5210 #105238 #171052 #52102A
square
#4B5210 #105238 #171052 #52102A
split-complementary
#4B5210 #102A52 #381052
monochromatic
#171A05 #1C1F06 #4B5210 #7A851A #A9B824

Accessibility & contrast

On white

8.35
#4B5210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4B5210 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B5210
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5210#FFFFFF#000000##FFFFFF
##4B52101.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D04
Deuteranopia (green-blind)
#584E16
Tritanopia (blue-blind)
#504D45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4b5210;
/* rgb */ color: rgb(75, 82, 16);
/* oklch */ color: oklch(41.9% 0.086 115.6);
Tailwind
colors: {
  custom: {
    50: '#808254',
    500: '#4b5210',
    950: '#000000',
  },
}
SCSS
$custom: #4b5210;
$custom-light: #808254;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5210",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 16
  },
  "hsl": {
    "h": 66.364,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.41878,
    "c": 0.08632,
    "h": 115.6
  },
  "luminance": 0.07568
}

Semantic roles & 50–950 ramp

primary
#4B5210
secondary
#3C328C
accent
#3EEA50
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4B5210

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

Preview Lab → · Contrast checker → · Palette generator →

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