#546912#546912

#546912 is a mid, moderate yellow-green. Relative luminance 0.120; OKLCH L 48.7% C 0.111 H 122.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#546912
RGBrgb(84, 105, 18)
HSLhsl(74, 71%, 24%)
HSVhsv(74, 83%, 41%)
CMYKcmyk(20%, 0%, 82.9%, 58.8%)
CIE-LABlab(41.27, -20.50, 42.43)
CIE-LCHlch(41.27, 47.12, 115.79°)
OKLaboklab(48.67% -0.0603 0.0931)
OKLCHoklch(48.67% 0.111 122.9)
XYZxyz(8.8170, 12.0316, 2.4300)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546912 #271269
analogous
#695312 #546912 #296912
triadic
#546912 #125469 #691254
tetradic
#546912 #126953 #271269 #691229
square
#546912 #126953 #271269 #691229
split-complementary
#546912 #122969 #531269
monochromatic
#151A04 #2A3509 #546912 #7E9D1B #A8D124

Accessibility & contrast

On white

6.16
#546912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#546912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #546912
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##546912#FFFFFF#000000##FFFFFF
##5469121.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#6D611B
Tritanopia (blue-blind)
#596359
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #546912;
/* rgb */ color: rgb(84, 105, 18);
/* oklch */ color: oklch(48.7% 0.111 122.9);
Tailwind
colors: {
  custom: {
    50: '#879459',
    500: '#546912',
    950: '#000000',
  },
}
SCSS
$custom: #546912;
$custom-light: #879459;
$custom-dark: #000000;
JSON
{
  "hex": "#546912",
  "rgb": {
    "r": 84,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 74.483,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.48671,
    "c": 0.11088,
    "h": 122.9
  },
  "luminance": 0.12032
}

Semantic roles & 50–950 ramp

primary
#546912
secondary
#5036A1
accent
#3AED66
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #546912

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

Preview Lab → · Contrast checker → · Palette generator →

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