#4B480F#4B480F

#4B480F is a dark, moderate yellow. Relative luminance 0.062; OKLCH L 39.3% C 0.075 H 106.3°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#4B480F
RGBrgb(75, 72, 15)
HSLhsl(57, 67%, 18%)
HSVhsv(57, 80%, 29%)
CMYKcmyk(0%, 4%, 80%, 70.6%)
CIE-LABlab(29.83, -6.44, 32.58)
CIE-LCHlch(29.83, 33.21, 101.18°)
OKLaboklab(39.28% -0.0211 0.072)
OKLCHoklch(39.28% 0.075 106.3)
XYZxyz(5.3055, 6.1653, 1.3624)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B480F #0F124B
analogous
#4B2A0F #4B480F #304B0F
triadic
#4B480F #0F4B48 #480F4B
tetradic
#4B480F #0F4B2A #0F124B #4B0F30
square
#4B480F #0F4B2A #0F124B #4B0F30
split-complementary
#4B480F #0F304B #2A0F4B
monochromatic
#1A1805 #1A1805 #4B480F #7E7919 #B1AA23

Accessibility & contrast

On white

9.40
#4B480F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4B480F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B480F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B480F#FFFFFF#000000##FFFFFF
##4B480F1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4505
Deuteranopia (green-blind)
#504713
Tritanopia (blue-blind)
#51433D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4b480f;
/* rgb */ color: rgb(75, 72, 15);
/* oklch */ color: oklch(39.3% 0.075 106.3);
Tailwind
colors: {
  custom: {
    50: '#807a52',
    500: '#4b480f',
    950: '#000000',
  },
}
SCSS
$custom: #4b480f;
$custom-light: #807a52;
$custom-dark: #000000;
JSON
{
  "hex": "#4b480f",
  "rgb": {
    "r": 75,
    "g": 72,
    "b": 15
  },
  "hsl": {
    "h": 57,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.39284,
    "c": 0.07501,
    "h": 106.3
  },
  "luminance": 0.06165
}

Semantic roles & 50–950 ramp

primary
#4B480F
secondary
#303585
accent
#47EA3E
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4B480F

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

Preview Lab → · Contrast checker → · Palette generator →

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