#546712#546712

#546712 is a mid, moderate yellow-green. Relative luminance 0.116; OKLCH L 48.1% C 0.108 H 122.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#546712
RGBrgb(84, 103, 18)
HSLhsl(73, 70%, 24%)
HSVhsv(73, 83%, 40%)
CMYKcmyk(18.4%, 0%, 82.5%, 59.6%)
CIE-LABlab(40.62, -19.45, 41.84)
CIE-LCHlch(40.62, 46.13, 114.93°)
OKLaboklab(48.15% -0.0574 0.0918)
OKLCHoklch(48.15% 0.108 122)
XYZxyz(8.6157, 11.6290, 2.3629)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546712 #251267
analogous
#674F12 #546712 #296712
triadic
#546712 #125467 #671254
tetradic
#546712 #12674F #251267 #671229
square
#546712 #12674F #251267 #671229
split-complementary
#546712 #122967 #4F1267
monochromatic
#151A05 #2A3309 #546712 #7E9B1B #A9CF24

Accessibility & contrast

On white

6.31
#546712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#546712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #546712
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##546712#FFFFFF#000000##FFFFFF
##5467121.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#6B601A
Tritanopia (blue-blind)
#596157
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #546712;
/* rgb */ color: rgb(84, 103, 18);
/* oklch */ color: oklch(48.1% 0.108 122.0);
Tailwind
colors: {
  custom: {
    50: '#879258',
    500: '#546712',
    950: '#000000',
  },
}
SCSS
$custom: #546712;
$custom-light: #879258;
$custom-dark: #000000;
JSON
{
  "hex": "#546712",
  "rgb": {
    "r": 84,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 73.412,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.48149,
    "c": 0.10829,
    "h": 122
  },
  "luminance": 0.11629
}

Semantic roles & 50–950 ramp

primary
#546712
secondary
#4D369F
accent
#3BED63
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D04
muted
#7D7D79

Preview Lab

Preview with #546712

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

Preview Lab → · Contrast checker → · Palette generator →

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