#546412#546412

#546412 is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 47.4% C 0.104 H 120.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#546412
RGBrgb(84, 100, 18)
HSLhsl(72, 69%, 23%)
HSVhsv(72, 82%, 39%)
CMYKcmyk(16%, 0%, 82%, 60.8%)
CIE-LABlab(39.65, -17.85, 40.95)
CIE-LCHlch(39.65, 44.67, 113.56°)
OKLaboklab(47.37% -0.053 0.09)
OKLCHoklch(47.37% 0.104 120.5)
XYZxyz(8.3227, 11.0429, 2.2652)
Luminance0.1104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546412 #221264
analogous
#644B12 #546412 #2B6412
triadic
#546412 #125464 #641254
tetradic
#546412 #12644B #221264 #64122B
square
#546412 #12644B #221264 #64122B
split-complementary
#546412 #122B64 #4B1264
monochromatic
#161A05 #283009 #546412 #80981B #ABCC25

Accessibility & contrast

On white

6.54
#546412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#546412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #546412
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##546412#FFFFFF#000000##FFFFFF
##5464121.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#695E1A
Tritanopia (blue-blind)
#595E55
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #546412;
/* rgb */ color: rgb(84, 100, 18);
/* oklch */ color: oklch(47.4% 0.104 120.5);
Tailwind
colors: {
  custom: {
    50: '#879058',
    500: '#546412',
    950: '#000000',
  },
}
SCSS
$custom: #546412;
$custom-light: #879058;
$custom-dark: #000000;
JSON
{
  "hex": "#546412",
  "rgb": {
    "r": 84,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 71.707,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.47368,
    "c": 0.10441,
    "h": 120.5
  },
  "luminance": 0.11043
}

Semantic roles & 50–950 ramp

primary
#546412
secondary
#4A369C
accent
#3BEC5E
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #546412

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

Preview Lab → · Contrast checker → · Palette generator →

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