#546918#546918

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

Color values

HEX#546918
RGBrgb(84, 105, 24)
HSLhsl(76, 63%, 25%)
HSVhsv(76, 77%, 41%)
CMYKcmyk(20%, 0%, 77.1%, 58.8%)
CIE-LABlab(41.30, -20.17, 40.31)
CIE-LCHlch(41.30, 45.07, 116.59°)
OKLaboklab(48.71% -0.0588 0.0897)
OKLCHoklch(48.71% 0.107 123.3)
XYZxyz(8.8727, 12.0539, 2.7232)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546918 #2D1869
analogous
#695618 #546918 #2B6918
triadic
#546918 #185469 #691854
tetradic
#546918 #186956 #2D1869 #69182B
square
#546918 #186956 #2D1869 #69182B
split-complementary
#546918 #182B69 #561869
monochromatic
#141906 #2C370D #546918 #7C9B23 #A4CD2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##546918#FFFFFF#000000##FFFFFF
##5469181.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)
#6F6208
Deuteranopia (green-blind)
#6D611F
Tritanopia (blue-blind)
#596359
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #546918;
/* rgb */ color: rgb(84, 105, 24);
/* oklch */ color: oklch(48.7% 0.107 123.3);
Tailwind
colors: {
  custom: {
    50: '#87945b',
    500: '#546918',
    950: '#000000',
  },
}
SCSS
$custom: #546918;
$custom-light: #87945b;
$custom-dark: #000000;
JSON
{
  "hex": "#546918",
  "rgb": {
    "r": 84,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 75.556,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48711,
    "c": 0.10729,
    "h": 123.3
  },
  "luminance": 0.12054
}

Semantic roles & 50–950 ramp

primary
#546918
secondary
#573E9F
accent
#42E66C
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #546918

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

Preview Lab → · Contrast checker → · Palette generator →

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