#546815#546815

#546815 is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.4% C 0.108 H 122.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#546815
RGBrgb(84, 104, 21)
HSLhsl(74, 66%, 25%)
HSVhsv(74, 80%, 41%)
CMYKcmyk(19.2%, 0%, 79.8%, 59.2%)
CIE-LABlab(40.96, -19.82, 41.11)
CIE-LCHlch(40.96, 45.63, 115.74°)
OKLaboklab(48.43% -0.0582 0.0908)
OKLCHoklch(48.43% 0.108 122.6)
XYZxyz(8.7420, 11.8396, 2.5340)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546815 #291568
analogous
#685315 #546815 #2B6815
triadic
#546815 #155468 #681554
tetradic
#546815 #156853 #291568 #68152B
square
#546815 #156853 #291568 #68152B
split-complementary
#546815 #152B68 #531568
monochromatic
#151905 #2B350B #546815 #7D9B1F #A6CE2A

Accessibility & contrast

On white

6.24
#546815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#546815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #546815
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##546815#FFFFFF#000000##FFFFFF
##5468151.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6103
Deuteranopia (green-blind)
#6C611D
Tritanopia (blue-blind)
#596258
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #546815;
/* rgb */ color: rgb(84, 104, 21);
/* oklch */ color: oklch(48.4% 0.108 122.6);
Tailwind
colors: {
  custom: {
    50: '#87935a',
    500: '#546815',
    950: '#000000',
  },
}
SCSS
$custom: #546815;
$custom-light: #87935a;
$custom-dark: #000000;
JSON
{
  "hex": "#546815",
  "rgb": {
    "r": 84,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 74.458,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.48429,
    "c": 0.10786,
    "h": 122.6
  },
  "luminance": 0.1184
}

Semantic roles & 50–950 ramp

primary
#546815
secondary
#523A9F
accent
#3EE968
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #546815

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

Preview Lab → · Contrast checker → · Palette generator →

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