#546D18#546D18

#546D18 is a mid, moderate yellow-green. Relative luminance 0.129; OKLCH L 49.8% C 0.113 H 124.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#546D18
RGBrgb(84, 109, 24)
HSLhsl(78, 64%, 26%)
HSVhsv(78, 78%, 43%)
CMYKcmyk(22.9%, 0%, 78%, 57.3%)
CIE-LABlab(42.59, -22.24, 41.56)
CIE-LCHlch(42.59, 47.14, 118.16°)
OKLaboklab(49.76% -0.0645 0.0923)
OKLCHoklch(49.76% 0.113 124.9)
XYZxyz(9.2897, 12.8879, 2.8622)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546D18 #31186D
analogous
#6D5B18 #546D18 #296D18
triadic
#546D18 #18546D #6D1854
tetradic
#546D18 #186D5B #31186D #6D1829
square
#546D18 #186D5B #31186D #6D1829
split-complementary
#546D18 #18296D #5B186D
monochromatic
#131906 #2D3B0D #546D18 #7B9F23 #A1D12E

Accessibility & contrast

On white

5.87
#546D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#546D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #546D18
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##546D18#FFFFFF#000000##FFFFFF
##546D181.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736506
Deuteranopia (green-blind)
#706420
Tritanopia (blue-blind)
#58675D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #546d18;
/* rgb */ color: rgb(84, 109, 24);
/* oklch */ color: oklch(49.8% 0.113 124.9);
Tailwind
colors: {
  custom: {
    50: '#87975c',
    500: '#546d18',
    950: '#000000',
  },
}
SCSS
$custom: #546d18;
$custom-light: #87975c;
$custom-dark: #000000;
JSON
{
  "hex": "#546d18",
  "rgb": {
    "r": 84,
    "g": 109,
    "b": 24
  },
  "hsl": {
    "h": 77.647,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49757,
    "c": 0.11265,
    "h": 124.9
  },
  "luminance": 0.12888
}

Semantic roles & 50–950 ramp

primary
#546D18
secondary
#5C3EA3
accent
#41E772
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #546D18

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

Preview Lab → · Contrast checker → · Palette generator →

#546D18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva