#545A30#545A30

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

Color values

HEX#545A30
RGBrgb(84, 90, 48)
HSLhsl(69, 30%, 27%)
HSVhsv(69, 47%, 35%)
CMYKcmyk(6.7%, 0%, 46.7%, 64.7%)
CIE-LABlab(36.76, -9.72, 23.40)
CIE-LCHlch(36.76, 25.34, 112.56°)
OKLaboklab(45.15% -0.0271 0.0565)
OKLCHoklch(45.15% 0.063 115.6)
XYZxyz(7.8459, 9.4106, 4.1988)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A30 #36305A
analogous
#5A4B30 #545A30 #3F5A30
triadic
#545A30 #30545A #5A3054
tetradic
#545A30 #305A4B #36305A #5A303F
square
#545A30 #305A4B #36305A #5A303F
split-complementary
#545A30 #303F5A #4B305A
monochromatic
#13140B #2F321B #545A30 #798245 #9DA85C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545A30#FFFFFF#000000##FFFFFF
##545A301.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)
#5F562D
Deuteranopia (green-blind)
#5F5732
Tritanopia (blue-blind)
#585650
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545a30;
/* rgb */ color: rgb(84, 90, 48);
/* oklch */ color: oklch(45.1% 0.063 115.6);
Tailwind
colors: {
  custom: {
    50: '#858869',
    500: '#545a30',
    950: '#000000',
  },
}
SCSS
$custom: #545a30;
$custom-light: #858869;
$custom-dark: #000000;
JSON
{
  "hex": "#545a30",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 48
  },
  "hsl": {
    "h": 68.571,
    "s": 30.435,
    "l": 27.059
  },
  "oklch": {
    "l": 0.45146,
    "c": 0.0627,
    "h": 115.6
  },
  "luminance": 0.09411
}

Semantic roles & 50–950 ramp

primary
#545A30
secondary
#615A8B
accent
#61C770
background
#F8F8F6
surface
#EFEFEB
border
#CACAC6
text
#0B0B06
muted
#7C7C7A

Preview Lab

Preview with #545A30

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

Preview Lab → · Contrast checker → · Palette generator →

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