#546A12#546A12

#546A12 is a mid, moderate yellow-green. Relative luminance 0.122; OKLCH L 48.9% C 0.112 H 123.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#546A12
RGBrgb(84, 106, 18)
HSLhsl(75, 71%, 24%)
HSVhsv(75, 83%, 42%)
CMYKcmyk(20.8%, 0%, 83%, 58.4%)
CIE-LABlab(41.59, -21.02, 42.72)
CIE-LCHlch(41.59, 47.61, 116.19°)
OKLaboklab(48.93% -0.0617 0.0937)
OKLCHoklch(48.93% 0.112 123.4)
XYZxyz(8.9195, 12.2365, 2.4641)
Luminance0.1224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546A12 #28126A
analogous
#6A5412 #546A12 #286A12
triadic
#546A12 #12546A #6A1254
tetradic
#546A12 #126A54 #28126A #6A1228
square
#546A12 #126A54 #28126A #6A1228
split-complementary
#546A12 #12286A #54126A
monochromatic
#151A04 #2B3609 #546A12 #7D9E1B #A7D324

Accessibility & contrast

On white

6.09
#546A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#546A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #546A12
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##546A12#FFFFFF#000000##FFFFFF
##546A121.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#6E621B
Tritanopia (blue-blind)
#59645A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #546a12;
/* rgb */ color: rgb(84, 106, 18);
/* oklch */ color: oklch(48.9% 0.112 123.4);
Tailwind
colors: {
  custom: {
    50: '#879459',
    500: '#546a12',
    950: '#000000',
  },
}
SCSS
$custom: #546a12;
$custom-light: #879459;
$custom-dark: #000000;
JSON
{
  "hex": "#546a12",
  "rgb": {
    "r": 84,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 75,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.48933,
    "c": 0.11218,
    "h": 123.4
  },
  "luminance": 0.12237
}

Semantic roles & 50–950 ramp

primary
#546A12
secondary
#5136A2
accent
#3AEE67
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #546A12

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

Preview Lab → · Contrast checker → · Palette generator →

#546A12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva