#545A14#545A14

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

Color values

HEX#545A14
RGBrgb(84, 90, 20)
HSLhsl(65, 64%, 22%)
HSVhsv(65, 78%, 35%)
CMYKcmyk(6.7%, 0%, 77.8%, 64.7%)
CIE-LABlab(36.46, -12.23, 37.20)
CIE-LCHlch(36.46, 39.16, 108.21°)
OKLaboklab(44.8% -0.0373 0.0824)
OKLCHoklch(44.8% 0.09 114.4)
XYZxyz(7.4388, 9.2478, 2.0548)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A14 #1A145A
analogous
#5A3D14 #545A14 #315A14
triadic
#545A14 #14545A #5A1454
tetradic
#545A14 #145A3D #1A145A #5A1431
square
#545A14 #145A3D #1A145A #5A1431
split-complementary
#545A14 #14315A #3D145A
monochromatic
#171906 #252809 #545A14 #838C1F #B1BE2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545A14#FFFFFF#000000##FFFFFF
##545A141.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)
#615507
Deuteranopia (green-blind)
#61561A
Tritanopia (blue-blind)
#5A544C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545a14;
/* rgb */ color: rgb(84, 90, 20);
/* oklch */ color: oklch(44.8% 0.090 114.4);
Tailwind
colors: {
  custom: {
    50: '#878857',
    500: '#545a14',
    950: '#000000',
  },
}
SCSS
$custom: #545a14;
$custom-light: #878857;
$custom-dark: #000000;
JSON
{
  "hex": "#545a14",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 20
  },
  "hsl": {
    "h": 65.143,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.44802,
    "c": 0.09047,
    "h": 114.4
  },
  "luminance": 0.09248
}

Semantic roles & 50–950 ramp

primary
#545A14
secondary
#403892
accent
#41E74F
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #545A14

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

Preview Lab → · Contrast checker → · Palette generator →

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