#546A0F#546A0F

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

Color values

HEX#546A0F
RGBrgb(84, 106, 15)
HSLhsl(75, 75%, 24%)
HSVhsv(75, 86%, 42%)
CMYKcmyk(20.8%, 0%, 85.8%, 58.4%)
CIE-LABlab(41.58, -21.15, 43.64)
CIE-LCHlch(41.58, 48.49, 115.86°)
OKLaboklab(48.92% -0.0623 0.0951)
OKLCHoklch(48.92% 0.114 123.2)
XYZxyz(8.8965, 12.2273, 2.3433)
Luminance0.1223 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546A0F #250F6A
analogous
#6A520F #546A0F #266A0F
triadic
#546A0F #0F546A #6A0F54
tetradic
#546A0F #0F6A52 #250F6A #6A0F26
square
#546A0F #0F6A52 #250F6A #6A0F26
split-complementary
#546A0F #0F266A #520F6A
monochromatic
#151B04 #2A3407 #546A0F #7EA017 #A9D51E

Accessibility & contrast

On white

6.10
#546A0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #546A0F
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##546A0F#FFFFFF#000000##FFFFFF
##546A0F1.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #546a0f;
/* rgb */ color: rgb(84, 106, 15);
/* oklch */ color: oklch(48.9% 0.114 123.2);
Tailwind
colors: {
  custom: {
    50: '#879458',
    500: '#546a0f',
    950: '#000000',
  },
}
SCSS
$custom: #546a0f;
$custom-light: #879458;
$custom-dark: #000000;
JSON
{
  "hex": "#546a0f",
  "rgb": {
    "r": 84,
    "g": 106,
    "b": 15
  },
  "hsl": {
    "h": 74.505,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.48916,
    "c": 0.11367,
    "h": 123.2
  },
  "luminance": 0.12227
}

Semantic roles & 50–950 ramp

primary
#546A0F
secondary
#4D32A2
accent
#36F263
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #546A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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