#4A550F#4A550F

#4A550F is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 42.6% C 0.091 H 118.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#4A550F
RGBrgb(74, 85, 15)
HSLhsl(69, 70%, 20%)
HSVhsv(69, 82%, 33%)
CMYKcmyk(12.9%, 0%, 82.4%, 66.7%)
CIE-LABlab(33.96, -14.50, 36.45)
CIE-LCHlch(33.96, 39.23, 111.70°)
OKLaboklab(42.57% -0.0435 0.0802)
OKLCHoklch(42.57% 0.091 118.5)
XYZxyz(6.1589, 7.9874, 1.6691)
Luminance0.0799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A550F #1A0F55
analogous
#553D0F #4A550F #27550F
triadic
#4A550F #0F4A55 #550F4A
tetradic
#4A550F #0F553D #1A0F55 #550F27
square
#4A550F #0F553D #1A0F55 #550F27
split-complementary
#4A550F #0F2755 #3D0F55
monochromatic
#171A05 #1D2106 #4A550F #778918 #A5BD21

Accessibility & contrast

On white

8.09
#4A550F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4A550F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A550F
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A550F#FFFFFF#000000##FFFFFF
##4A550F1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5001
Deuteranopia (green-blind)
#5A5015
Tritanopia (blue-blind)
#4F5048
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4a550f;
/* rgb */ color: rgb(74, 85, 15);
/* oklch */ color: oklch(42.6% 0.091 118.5);
Tailwind
colors: {
  custom: {
    50: '#7f8454',
    500: '#4a550f',
    950: '#000000',
  },
}
SCSS
$custom: #4a550f;
$custom-light: #7f8454;
$custom-dark: #000000;
JSON
{
  "hex": "#4a550f",
  "rgb": {
    "r": 74,
    "g": 85,
    "b": 15
  },
  "hsl": {
    "h": 69.429,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.42571,
    "c": 0.09123,
    "h": 118.5
  },
  "luminance": 0.07987
}

Semantic roles & 50–950 ramp

primary
#4A550F
secondary
#40318F
accent
#3BED57
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4A550F

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

Preview Lab → · Contrast checker → · Palette generator →

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