#546018#546018

#546018 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.4% C 0.095 H 118.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#546018
RGBrgb(84, 96, 24)
HSLhsl(70, 60%, 24%)
HSVhsv(70, 75%, 38%)
CMYKcmyk(12.5%, 0%, 75%, 62.4%)
CIE-LABlab(38.40, -15.34, 37.46)
CIE-LCHlch(38.40, 40.48, 112.27°)
OKLaboklab(46.38% -0.0455 0.0837)
OKLCHoklch(46.38% 0.095 118.5)
XYZxyz(8.0041, 10.3166, 2.4336)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546018 #241860
analogous
#604818 #546018 #306018
triadic
#546018 #185460 #601854
tetradic
#546018 #186048 #241860 #601830
square
#546018 #186048 #241860 #601830
split-complementary
#546018 #183060 #481860
monochromatic
#151806 #292F0C #546018 #7F9124 #AAC230

Accessibility & contrast

On white

6.86
#546018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#546018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #546018
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##546018#FFFFFF#000000##FFFFFF
##5460181.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A0C
Deuteranopia (green-blind)
#655B1E
Tritanopia (blue-blind)
#595A52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #546018;
/* rgb */ color: rgb(84, 96, 24);
/* oklch */ color: oklch(46.4% 0.095 118.5);
Tailwind
colors: {
  custom: {
    50: '#868d5a',
    500: '#546018',
    950: '#000000',
  },
}
SCSS
$custom: #546018;
$custom-light: #868d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#546018",
  "rgb": {
    "r": 84,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 70,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46375,
    "c": 0.09531,
    "h": 118.5
  },
  "luminance": 0.10317
}

Semantic roles & 50–950 ramp

primary
#546018
secondary
#4C3D96
accent
#45E35F
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #546018

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

Preview Lab → · Contrast checker → · Palette generator →

#546018 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva