#545A28#545A28

#545A28 is a mid, moderate yellow. Relative luminance 0.093; OKLCH L 45.0% C 0.072 H 115.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#545A28
RGBrgb(84, 90, 40)
HSLhsl(67, 38%, 25%)
HSVhsv(67, 56%, 35%)
CMYKcmyk(6.7%, 0%, 55.6%, 64.7%)
CIE-LABlab(36.65, -10.64, 27.76)
CIE-LCHlch(36.65, 29.72, 110.97°)
OKLaboklab(45.02% -0.0305 0.0654)
OKLCHoklch(45.02% 0.072 115)
XYZxyz(7.6954, 9.3505, 3.4065)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A28 #2E285A
analogous
#5A4728 #545A28 #3B5A28
triadic
#545A28 #28545A #5A2854
tetradic
#545A28 #285A47 #2E285A #5A283B
square
#545A28 #285A47 #2E285A #5A283B
split-complementary
#545A28 #283B5A #47285A
monochromatic
#141509 #2C3015 #545A28 #7C843B #A3AF4E

Accessibility & contrast

On white

7.32
#545A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #545A28
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A28#FFFFFF#000000##FFFFFF
##545A281.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605623
Deuteranopia (green-blind)
#60572B
Tritanopia (blue-blind)
#59554F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545a28;
/* rgb */ color: rgb(84, 90, 40);
/* oklch */ color: oklch(45.0% 0.072 115.0);
Tailwind
colors: {
  custom: {
    50: '#858863',
    500: '#545a28',
    950: '#000000',
  },
}
SCSS
$custom: #545a28;
$custom-light: #858863;
$custom-dark: #000000;
JSON
{
  "hex": "#545a28",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 40
  },
  "hsl": {
    "h": 67.2,
    "s": 38.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45019,
    "c": 0.07222,
    "h": 115
  },
  "luminance": 0.0935
}

Semantic roles & 50–950 ramp

primary
#545A28
secondary
#58518D
accent
#59CE67
background
#F8F8F6
surface
#EFEFEB
border
#CACAC6
text
#0B0B05
muted
#7C7C7A

Preview Lab

Preview with #545A28

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

Preview Lab → · Contrast checker → · Palette generator →

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