#545A2F#545A2F

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

Color values

HEX#545A2F
RGBrgb(84, 90, 47)
HSLhsl(68, 31%, 27%)
HSVhsv(68, 48%, 35%)
CMYKcmyk(6.7%, 0%, 47.8%, 64.7%)
CIE-LABlab(36.75, -9.84, 23.96)
CIE-LCHlch(36.75, 25.90, 112.34°)
OKLaboklab(45.13% -0.0276 0.0577)
OKLCHoklch(45.13% 0.064 115.5)
XYZxyz(7.8255, 9.4025, 4.0914)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A2F #352F5A
analogous
#5A4B2F #545A2F #3F5A2F
triadic
#545A2F #2F545A #5A2F54
tetradic
#545A2F #2F5A4B #352F5A #5A2F3F
square
#545A2F #2F5A4B #352F5A #5A2F3F
split-complementary
#545A2F #2F3F5A #4B2F5A
monochromatic
#13140A #2E321A #545A2F #7A8244 #9EA95A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545A2F#FFFFFF#000000##FFFFFF
##545A2F1.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)
#5F562B
Deuteranopia (green-blind)
#5F5731
Tritanopia (blue-blind)
#585650
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545a2f;
/* rgb */ color: rgb(84, 90, 47);
/* oklch */ color: oklch(45.1% 0.064 115.5);
Tailwind
colors: {
  custom: {
    50: '#858868',
    500: '#545a2f',
    950: '#000000',
  },
}
SCSS
$custom: #545a2f;
$custom-light: #858868;
$custom-dark: #000000;
JSON
{
  "hex": "#545a2f",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 47
  },
  "hsl": {
    "h": 68.372,
    "s": 31.387,
    "l": 26.863
  },
  "oklch": {
    "l": 0.45128,
    "c": 0.06395,
    "h": 115.5
  },
  "luminance": 0.09402
}

Semantic roles & 50–950 ramp

primary
#545A2F
secondary
#60598C
accent
#60C86F
background
#F8F8F6
surface
#EFEFEB
border
#CACAC6
text
#0B0B06
muted
#7C7C7A

Preview Lab

Preview with #545A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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