#546515#546515

#546515 is a mid, moderate yellow-green. Relative luminance 0.112; OKLCH L 47.6% C 0.104 H 121.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#546515
RGBrgb(84, 101, 21)
HSLhsl(73, 66%, 24%)
HSVhsv(73, 79%, 40%)
CMYKcmyk(16.8%, 0%, 79.2%, 60.4%)
CIE-LABlab(39.99, -18.23, 40.19)
CIE-LCHlch(39.99, 44.13, 114.40°)
OKLaboklab(47.65% -0.0538 0.0889)
OKLCHoklch(47.65% 0.104 121.2)
XYZxyz(8.4453, 11.2463, 2.4352)
Luminance0.1125 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546515 #261565
analogous
#654E15 #546515 #2C6515
triadic
#546515 #155465 #651554
tetradic
#546515 #15654E #261565 #65152C
square
#546515 #15654E #261565 #65152C
split-complementary
#546515 #152C65 #4E1565
monochromatic
#151905 #2A320A #546515 #7E9820 #A8CA2A

Accessibility & contrast

On white

6.46
#546515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#546515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #546515
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##546515#FFFFFF#000000##FFFFFF
##5465151.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F04
Deuteranopia (green-blind)
#6A5E1C
Tritanopia (blue-blind)
#595F56
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #546515;
/* rgb */ color: rgb(84, 101, 21);
/* oklch */ color: oklch(47.6% 0.104 121.2);
Tailwind
colors: {
  custom: {
    50: '#879059',
    500: '#546515',
    950: '#000000',
  },
}
SCSS
$custom: #546515;
$custom-light: #879059;
$custom-dark: #000000;
JSON
{
  "hex": "#546515",
  "rgb": {
    "r": 84,
    "g": 101,
    "b": 21
  },
  "hsl": {
    "h": 72.75,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.47648,
    "c": 0.10392,
    "h": 121.2
  },
  "luminance": 0.11246
}

Semantic roles & 50–950 ramp

primary
#546515
secondary
#4F3A9C
accent
#3FE963
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #546515

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

Preview Lab → · Contrast checker → · Palette generator →

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