#4B5310#4B5310

#4B5310 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.1% C 0.088 H 116.3°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#4B5310
RGBrgb(75, 83, 16)
HSLhsl(67, 68%, 19%)
HSVhsv(67, 81%, 33%)
CMYKcmyk(9.6%, 0%, 80.7%, 67.5%)
CIE-LABlab(33.39, -12.84, 35.57)
CIE-LCHlch(33.39, 37.82, 109.84°)
OKLaboklab(42.14% -0.0388 0.0785)
OKLCHoklch(42.14% 0.088 116.3)
XYZxyz(6.0886, 7.7199, 1.6595)
Luminance0.0772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5310 #181053
analogous
#533A10 #4B5310 #2A5310
triadic
#4B5310 #104B53 #53104B
tetradic
#4B5310 #10533A #181053 #53102A
square
#4B5310 #10533A #181053 #53102A
split-complementary
#4B5310 #102A53 #3A1053
monochromatic
#171A05 #1D2006 #4B5310 #79861A #A8BA24

Accessibility & contrast

On white

8.25
#4B5310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4B5310 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B5310
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5310#FFFFFF#000000##FFFFFF
##4B53101.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E03
Deuteranopia (green-blind)
#594F16
Tritanopia (blue-blind)
#504E46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4b5310;
/* rgb */ color: rgb(75, 83, 16);
/* oklch */ color: oklch(42.1% 0.088 116.3);
Tailwind
colors: {
  custom: {
    50: '#808354',
    500: '#4b5310',
    950: '#000000',
  },
}
SCSS
$custom: #4b5310;
$custom-light: #808354;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5310",
  "rgb": {
    "r": 75,
    "g": 83,
    "b": 16
  },
  "hsl": {
    "h": 67.164,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.4214,
    "c": 0.0876,
    "h": 116.3
  },
  "luminance": 0.0772
}

Semantic roles & 50–950 ramp

primary
#4B5310
secondary
#3D328D
accent
#3DEB52
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4B5310

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

Preview Lab → · Contrast checker → · Palette generator →

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