#545B13#545B13

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

Color values

HEX#545B13
RGBrgb(84, 91, 19)
HSLhsl(66, 65%, 22%)
HSVhsv(66, 79%, 36%)
CMYKcmyk(7.7%, 0%, 79.1%, 64.3%)
CIE-LABlab(36.77, -12.85, 37.89)
CIE-LCHlch(36.77, 40.01, 108.74°)
OKLaboklab(45.05% -0.0391 0.0837)
OKLCHoklch(45.05% 0.092 115.1)
XYZxyz(7.5150, 9.4141, 2.0372)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545B13 #1A135B
analogous
#5B3E13 #545B13 #305B13
triadic
#545B13 #13545B #5B1354
tetradic
#545B13 #135B3E #1A135B #5B1330
square
#545B13 #135B3E #1A135B #5B1330
split-complementary
#545B13 #13305B #3E135B
monochromatic
#171905 #252808 #545B13 #838E1E #B1C028

Accessibility & contrast

On white

7.28
#545B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #545B13
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545B13#FFFFFF#000000##FFFFFF
##545B131.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625605
Deuteranopia (green-blind)
#625719
Tritanopia (blue-blind)
#5A554D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545b13;
/* rgb */ color: rgb(84, 91, 19);
/* oklch */ color: oklch(45.1% 0.092 115.1);
Tailwind
colors: {
  custom: {
    50: '#878957',
    500: '#545b13',
    950: '#000000',
  },
}
SCSS
$custom: #545b13;
$custom-light: #878957;
$custom-dark: #000000;
JSON
{
  "hex": "#545b13",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 19
  },
  "hsl": {
    "h": 65.833,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.45051,
    "c": 0.09237,
    "h": 115.1
  },
  "luminance": 0.09414
}

Semantic roles & 50–950 ramp

primary
#545B13
secondary
#403793
accent
#3FE850
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #545B13

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

Preview Lab → · Contrast checker → · Palette generator →

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