#545A2D#545A2D

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

Color values

HEX#545A2D
RGBrgb(84, 90, 45)
HSLhsl(68, 33%, 26%)
HSVhsv(68, 50%, 35%)
CMYKcmyk(6.7%, 0%, 50%, 64.7%)
CIE-LABlab(36.72, -10.08, 25.06)
CIE-LCHlch(36.72, 27.01, 111.92°)
OKLaboklab(45.1% -0.0284 0.06)
OKLCHoklch(45.1% 0.066 115.4)
XYZxyz(7.7861, 9.3867, 3.8838)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A2D #332D5A
analogous
#5A4A2D #545A2D #3E5A2D
triadic
#545A2D #2D545A #5A2D54
tetradic
#545A2D #2D5A4A #332D5A #5A2D3E
square
#545A2D #2D5A4A #332D5A #5A2D3E
split-complementary
#545A2D #2D3E5A #4A2D5A
monochromatic
#13140A #2E3119 #545A2D #7A8341 #A0AB57

Accessibility & contrast

On white

7.30
#545A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #545A2D
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A2D#FFFFFF#000000##FFFFFF
##545A2D1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605629
Deuteranopia (green-blind)
#5F572F
Tritanopia (blue-blind)
#59564F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545a2d;
/* rgb */ color: rgb(84, 90, 45);
/* oklch */ color: oklch(45.1% 0.066 115.4);
Tailwind
colors: {
  custom: {
    50: '#858867',
    500: '#545a2d',
    950: '#000000',
  },
}
SCSS
$custom: #545a2d;
$custom-light: #858867;
$custom-dark: #000000;
JSON
{
  "hex": "#545a2d",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 45
  },
  "hsl": {
    "h": 68,
    "s": 33.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.45095,
    "c": 0.0664,
    "h": 115.4
  },
  "luminance": 0.09387
}

Semantic roles & 50–950 ramp

primary
#545A2D
secondary
#5E578C
accent
#5EC96D
background
#F8F8F6
surface
#EFEFEB
border
#CACAC6
text
#0B0B06
muted
#7C7C7A

Preview Lab

Preview with #545A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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