#546812#546812

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

Color values

HEX#546812
RGBrgb(84, 104, 18)
HSLhsl(74, 70%, 24%)
HSVhsv(74, 83%, 41%)
CMYKcmyk(19.2%, 0%, 82.7%, 59.2%)
CIE-LABlab(40.94, -19.97, 42.13)
CIE-LCHlch(40.94, 46.63, 115.36°)
OKLaboklab(48.41% -0.0588 0.0925)
OKLCHoklch(48.41% 0.11 122.5)
XYZxyz(8.7158, 11.8291, 2.3962)
Luminance0.1183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546812 #261268
analogous
#685112 #546812 #296812
triadic
#546812 #125468 #681254
tetradic
#546812 #126851 #261268 #681229
square
#546812 #126851 #261268 #681229
split-complementary
#546812 #122968 #511268
monochromatic
#151A05 #2A3409 #546812 #7E9C1B #A8D024

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##546812#FFFFFF#000000##FFFFFF
##5468121.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)
#6F6100
Deuteranopia (green-blind)
#6C601B
Tritanopia (blue-blind)
#596258
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #546812;
/* rgb */ color: rgb(84, 104, 18);
/* oklch */ color: oklch(48.4% 0.110 122.5);
Tailwind
colors: {
  custom: {
    50: '#879358',
    500: '#546812',
    950: '#000000',
  },
}
SCSS
$custom: #546812;
$custom-light: #879358;
$custom-dark: #000000;
JSON
{
  "hex": "#546812",
  "rgb": {
    "r": 84,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 73.953,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.4841,
    "c": 0.10958,
    "h": 122.5
  },
  "luminance": 0.11829
}

Semantic roles & 50–950 ramp

primary
#546812
secondary
#4F36A0
accent
#3BED64
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #546812

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

Preview Lab → · Contrast checker → · Palette generator →

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