#545B14#545B14

#545B14 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#545B14
RGBrgb(84, 91, 20)
HSLhsl(66, 64%, 22%)
HSVhsv(66, 78%, 36%)
CMYKcmyk(7.7%, 0%, 78%, 64.3%)
CIE-LABlab(36.78, -12.80, 37.50)
CIE-LCHlch(36.78, 39.63, 108.84°)
OKLaboklab(45.06% -0.0389 0.0831)
OKLCHoklch(45.06% 0.092 115.1)
XYZxyz(7.5237, 9.4176, 2.0831)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545B14 #1B145B
analogous
#5B3F14 #545B14 #315B14
triadic
#545B14 #14545B #5B1454
tetradic
#545B14 #145B3F #1B145B #5B1431
square
#545B14 #145B3F #1B145B #5B1431
split-complementary
#545B14 #14315B #3F145B
monochromatic
#171906 #262909 #545B14 #828D1F #B1BF2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545B14#FFFFFF#000000##FFFFFF
##545B141.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)
#625607
Deuteranopia (green-blind)
#62571A
Tritanopia (blue-blind)
#5A554D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545b14;
/* rgb */ color: rgb(84, 91, 20);
/* oklch */ color: oklch(45.1% 0.092 115.1);
Tailwind
colors: {
  custom: {
    50: '#878957',
    500: '#545b14',
    950: '#000000',
  },
}
SCSS
$custom: #545b14;
$custom-light: #878957;
$custom-dark: #000000;
JSON
{
  "hex": "#545b14",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 20
  },
  "hsl": {
    "h": 65.915,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.45058,
    "c": 0.09171,
    "h": 115.1
  },
  "luminance": 0.09417
}

Semantic roles & 50–950 ramp

primary
#545B14
secondary
#413893
accent
#41E751
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #545B14

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

Preview Lab → · Contrast checker → · Palette generator →

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