#545A13#545A13

#545A13 is a dark, moderate yellow. Relative luminance 0.092; OKLCH L 44.8% C 0.091 H 114.4°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#545A13
RGBrgb(84, 90, 19)
HSLhsl(65, 65%, 21%)
HSVhsv(65, 79%, 35%)
CMYKcmyk(6.7%, 0%, 78.9%, 64.7%)
CIE-LABlab(36.45, -12.29, 37.58)
CIE-LCHlch(36.45, 39.54, 108.11°)
OKLaboklab(44.8% -0.0376 0.083)
OKLCHoklch(44.8% 0.091 114.4)
XYZxyz(7.4301, 9.2443, 2.0089)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A13 #19135A
analogous
#5A3D13 #545A13 #315A13
triadic
#545A13 #13545A #5A1354
tetradic
#545A13 #135A3D #19135A #5A1331
square
#545A13 #135A3D #19135A #5A1331
split-complementary
#545A13 #13315A #3D135A
monochromatic
#181905 #252708 #545A13 #838D1E #B2BF28

Accessibility & contrast

On white

7.37
#545A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#545A13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545A13
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A13#FFFFFF#000000##FFFFFF
##545A131.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615505
Deuteranopia (green-blind)
#615619
Tritanopia (blue-blind)
#5A544C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545a13;
/* rgb */ color: rgb(84, 90, 19);
/* oklch */ color: oklch(44.8% 0.091 114.4);
Tailwind
colors: {
  custom: {
    50: '#878857',
    500: '#545a13',
    950: '#000000',
  },
}
SCSS
$custom: #545a13;
$custom-light: #878857;
$custom-dark: #000000;
JSON
{
  "hex": "#545a13",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 19
  },
  "hsl": {
    "h": 65.07,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.44795,
    "c": 0.09114,
    "h": 114.4
  },
  "luminance": 0.09244
}

Semantic roles & 50–950 ramp

primary
#545A13
secondary
#3E3792
accent
#40E84E
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #545A13

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

Preview Lab → · Contrast checker → · Palette generator →

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