#545A29#545A29

#545A29 is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.0% C 0.071 H 115.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#545A29
RGBrgb(84, 90, 41)
HSLhsl(67, 37%, 26%)
HSVhsv(67, 54%, 35%)
CMYKcmyk(6.7%, 0%, 54.4%, 64.7%)
CIE-LABlab(36.66, -10.53, 27.22)
CIE-LCHlch(36.66, 29.19, 111.14°)
OKLaboklab(45.03% -0.0301 0.0644)
OKLCHoklch(45.03% 0.071 115.1)
XYZxyz(7.7127, 9.3573, 3.4972)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A29 #2F295A
analogous
#5A4729 #545A29 #3B5A29
triadic
#545A29 #29545A #5A2954
tetradic
#545A29 #295A47 #2F295A #5A293B
square
#545A29 #295A47 #2F295A #5A293B
split-complementary
#545A29 #293B5A #47295A
monochromatic
#14150A #2D3016 #545A29 #7B843C #A2AE4F

Accessibility & contrast

On white

7.31
#545A29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#545A29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545A29
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A29#FFFFFF#000000##FFFFFF
##545A291.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605624
Deuteranopia (green-blind)
#5F572C
Tritanopia (blue-blind)
#59554F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545a29;
/* rgb */ color: rgb(84, 90, 41);
/* oklch */ color: oklch(45.0% 0.071 115.1);
Tailwind
colors: {
  custom: {
    50: '#858864',
    500: '#545a29',
    950: '#000000',
  },
}
SCSS
$custom: #545a29;
$custom-light: #858864;
$custom-dark: #000000;
JSON
{
  "hex": "#545a29",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 41
  },
  "hsl": {
    "h": 67.347,
    "s": 37.405,
    "l": 25.686
  },
  "oklch": {
    "l": 0.45034,
    "c": 0.07109,
    "h": 115.1
  },
  "luminance": 0.09357
}

Semantic roles & 50–950 ramp

primary
#545A29
secondary
#59528D
accent
#5ACD69
background
#F8F8F6
surface
#EFEFEB
border
#CACAC6
text
#0B0B05
muted
#7C7C7A

Preview Lab

Preview with #545A29

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

Preview Lab → · Contrast checker → · Palette generator →

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