#546015#546015

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

Color values

HEX#546015
RGBrgb(84, 96, 21)
HSLhsl(70, 64%, 23%)
HSVhsv(70, 78%, 38%)
CMYKcmyk(12.5%, 0%, 78.1%, 62.4%)
CIE-LABlab(38.38, -15.52, 38.65)
CIE-LCHlch(38.38, 41.65, 111.88°)
OKLaboklab(46.35% -0.0463 0.0857)
OKLCHoklch(46.35% 0.097 118.4)
XYZxyz(7.9746, 10.3048, 2.2782)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546015 #211560
analogous
#604615 #546015 #2E6015
triadic
#546015 #155460 #601554
tetradic
#546015 #156046 #211560 #60152E
square
#546015 #156046 #211560 #60152E
split-complementary
#546015 #152E60 #461560
monochromatic
#161905 #282E0A #546015 #809220 #ACC42B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##546015#FFFFFF#000000##FFFFFF
##5460151.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)
#675A06
Deuteranopia (green-blind)
#665B1B
Tritanopia (blue-blind)
#595A52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #546015;
/* rgb */ color: rgb(84, 96, 21);
/* oklch */ color: oklch(46.4% 0.097 118.4);
Tailwind
colors: {
  custom: {
    50: '#878d59',
    500: '#546015',
    950: '#000000',
  },
}
SCSS
$custom: #546015;
$custom-light: #878d59;
$custom-dark: #000000;
JSON
{
  "hex": "#546015",
  "rgb": {
    "r": 84,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 69.6,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46352,
    "c": 0.09741,
    "h": 118.4
  },
  "luminance": 0.10305
}

Semantic roles & 50–950 ramp

primary
#546015
secondary
#493A97
accent
#41E75B
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #546015

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

Preview Lab → · Contrast checker → · Palette generator →

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