#546512#546512

#546512 is a mid, moderate yellow-green. Relative luminance 0.112; OKLCH L 47.6% C 0.106 H 121.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#546512
RGBrgb(84, 101, 18)
HSLhsl(72, 70%, 23%)
HSVhsv(72, 82%, 40%)
CMYKcmyk(16.8%, 0%, 82.2%, 60.4%)
CIE-LABlab(39.98, -18.39, 41.24)
CIE-LCHlch(39.98, 45.16, 114.03°)
OKLaboklab(47.63% -0.0545 0.0906)
OKLCHoklch(47.63% 0.106 121)
XYZxyz(8.4192, 11.2359, 2.2974)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546512 #231265
analogous
#654C12 #546512 #2A6512
triadic
#546512 #125465 #651254
tetradic
#546512 #12654C #231265 #65122A
square
#546512 #12654C #231265 #65122A
split-complementary
#546512 #122A65 #4C1265
monochromatic
#161A05 #293109 #546512 #7F991B #AACD25

Accessibility & contrast

On white

6.47
#546512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#546512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #546512
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##546512#FFFFFF#000000##FFFFFF
##5465121.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#6A5E1A
Tritanopia (blue-blind)
#595F56
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #546512;
/* rgb */ color: rgb(84, 101, 18);
/* oklch */ color: oklch(47.6% 0.106 121.0);
Tailwind
colors: {
  custom: {
    50: '#879058',
    500: '#546512',
    950: '#000000',
  },
}
SCSS
$custom: #546512;
$custom-light: #879058;
$custom-dark: #000000;
JSON
{
  "hex": "#546512",
  "rgb": {
    "r": 84,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 72.289,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.47628,
    "c": 0.1057,
    "h": 121
  },
  "luminance": 0.11236
}

Semantic roles & 50–950 ramp

primary
#546512
secondary
#4B369D
accent
#3BED60
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #546512

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

Preview Lab → · Contrast checker → · Palette generator →

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