#545A11#545A11

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

Color values

HEX#545A11
RGBrgb(84, 90, 17)
HSLhsl(65, 68%, 21%)
HSVhsv(65, 81%, 35%)
CMYKcmyk(6.7%, 0%, 81.1%, 64.7%)
CIE-LABlab(36.44, -12.39, 38.33)
CIE-LCHlch(36.44, 40.28, 107.92°)
OKLaboklab(44.78% -0.0381 0.0842)
OKLCHoklch(44.78% 0.092 114.3)
XYZxyz(7.4137, 9.2378, 1.9227)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A11 #17115A
analogous
#5A3B11 #545A11 #2F5A11
triadic
#545A11 #11545A #5A1154
tetradic
#545A11 #115A3B #17115A #5A112F
square
#545A11 #115A3B #17115A #5A112F
split-complementary
#545A11 #112F5A #3B115A
monochromatic
#181A05 #242707 #545A11 #848D1B #B4C124

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545A11#FFFFFF#000000##FFFFFF
##545A111.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)
#615502
Deuteranopia (green-blind)
#615617
Tritanopia (blue-blind)
#5A544C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545a11;
/* rgb */ color: rgb(84, 90, 17);
/* oklch */ color: oklch(44.8% 0.092 114.3);
Tailwind
colors: {
  custom: {
    50: '#878856',
    500: '#545a11',
    950: '#000000',
  },
}
SCSS
$custom: #545a11;
$custom-light: #878856;
$custom-dark: #000000;
JSON
{
  "hex": "#545a11",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 17
  },
  "hsl": {
    "h": 64.932,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.44781,
    "c": 0.09241,
    "h": 114.3
  },
  "luminance": 0.09238
}

Semantic roles & 50–950 ramp

primary
#545A11
secondary
#3C3493
accent
#3DEB4B
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #545A11

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

Preview Lab → · Contrast checker → · Palette generator →

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