#4B4A08#4B4A08

#4B4A08 is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 39.8% C 0.082 H 108.7°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#4B4A08
RGBrgb(75, 74, 8)
HSLhsl(59, 81%, 16%)
HSVhsv(59, 89%, 29%)
CMYKcmyk(0%, 1.3%, 89.3%, 70.6%)
CIE-LABlab(30.43, -7.97, 35.75)
CIE-LCHlch(30.43, 36.63, 102.56°)
OKLaboklab(39.75% -0.0261 0.0772)
OKLCHoklch(39.75% 0.082 108.7)
XYZxyz(5.3945, 6.4111, 1.1830)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4A08 #08094B
analogous
#4B2908 #4B4A08 #2B4B08
triadic
#4B4A08 #084B4A #4A084B
tetradic
#4B4A08 #084B29 #08094B #4B082B
square
#4B4A08 #084B29 #08094B #4B082B
split-complementary
#4B4A08 #082B4B #29084B
monochromatic
#1C1B03 #1C1B03 #4B4A08 #82810E #BAB714

Accessibility & contrast

On white

9.20
#4B4A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4B4A08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B4A08
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4A08#FFFFFF#000000##FFFFFF
##4B4A081.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514700
Deuteranopia (green-blind)
#52490E
Tritanopia (blue-blind)
#51443E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4b4a08;
/* rgb */ color: rgb(75, 74, 8);
/* oklch */ color: oklch(39.8% 0.082 108.7);
Tailwind
colors: {
  custom: {
    50: '#807c4f',
    500: '#4b4a08',
    950: '#000000',
  },
}
SCSS
$custom: #4b4a08;
$custom-light: #807c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4a08",
  "rgb": {
    "r": 75,
    "g": 74,
    "b": 8
  },
  "hsl": {
    "h": 59.104,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.3975,
    "c": 0.0815,
    "h": 108.7
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

primary
#4B4A08
secondary
#262789
accent
#34F731
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4B4A08

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

Preview Lab → · Contrast checker → · Palette generator →

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