#545A2E#545A2E

#545A2E is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.1% C 0.065 H 115.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#545A2E
RGBrgb(84, 90, 46)
HSLhsl(68, 32%, 27%)
HSVhsv(68, 49%, 35%)
CMYKcmyk(6.7%, 0%, 48.9%, 64.7%)
CIE-LABlab(36.73, -9.97, 24.51)
CIE-LCHlch(36.73, 26.46, 112.13°)
OKLaboklab(45.11% -0.028 0.0589)
OKLCHoklch(45.11% 0.065 115.4)
XYZxyz(7.8055, 9.3945, 3.9864)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A2E #342E5A
analogous
#5A4A2E #545A2E #3E5A2E
triadic
#545A2E #2E545A #5A2E54
tetradic
#545A2E #2E5A4A #342E5A #5A2E3E
square
#545A2E #2E5A4A #342E5A #5A2E3E
split-complementary
#545A2E #2E3E5A #4A2E5A
monochromatic
#13140A #2E3219 #545A2E #7A8343 #9FAA59

Accessibility & contrast

On white

7.29
#545A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#545A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545A2E
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A2E#FFFFFF#000000##FFFFFF
##545A2E1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F562A
Deuteranopia (green-blind)
#5F5730
Tritanopia (blue-blind)
#585650
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545a2e;
/* rgb */ color: rgb(84, 90, 46);
/* oklch */ color: oklch(45.1% 0.065 115.4);
Tailwind
colors: {
  custom: {
    50: '#858868',
    500: '#545a2e',
    950: '#000000',
  },
}
SCSS
$custom: #545a2e;
$custom-light: #858868;
$custom-dark: #000000;
JSON
{
  "hex": "#545a2e",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 46
  },
  "hsl": {
    "h": 68.182,
    "s": 32.353,
    "l": 26.667
  },
  "oklch": {
    "l": 0.45112,
    "c": 0.06518,
    "h": 115.4
  },
  "luminance": 0.09394
}

Semantic roles & 50–950 ramp

primary
#545A2E
secondary
#5F588C
accent
#5FC96E
background
#F8F8F6
surface
#EFEFEB
border
#CACAC6
text
#0B0B06
muted
#7C7C7A

Preview Lab

Preview with #545A2E

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

Preview Lab → · Contrast checker → · Palette generator →

#545A2E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva