#546E18#546E18

#546E18 is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 50.0% C 0.114 H 125.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#546E18
RGBrgb(84, 110, 24)
HSLhsl(78, 64%, 26%)
HSVhsv(78, 78%, 43%)
CMYKcmyk(23.6%, 0%, 78.2%, 56.9%)
CIE-LABlab(42.92, -22.75, 41.87)
CIE-LCHlch(42.92, 47.65, 118.52°)
OKLaboklab(50.02% -0.0659 0.093)
OKLCHoklch(50.02% 0.114 125.3)
XYZxyz(9.3970, 13.1025, 2.8979)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546E18 #32186E
analogous
#6E5D18 #546E18 #296E18
triadic
#546E18 #18546E #6E1854
tetradic
#546E18 #186E5D #32186E #6E1829
square
#546E18 #186E5D #32186E #6E1829
split-complementary
#546E18 #18296E #5D186E
monochromatic
#131905 #2E3C0D #546E18 #7AA023 #A0D22F

Accessibility & contrast

On white

5.80
#546E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#546E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #546E18
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##546E18#FFFFFF#000000##FFFFFF
##546E181.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746606
Deuteranopia (green-blind)
#716520
Tritanopia (blue-blind)
#58685E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #546e18;
/* rgb */ color: rgb(84, 110, 24);
/* oklch */ color: oklch(50.0% 0.114 125.3);
Tailwind
colors: {
  custom: {
    50: '#87975c',
    500: '#546e18',
    950: '#000000',
  },
}
SCSS
$custom: #546e18;
$custom-light: #87975c;
$custom-dark: #000000;
JSON
{
  "hex": "#546e18",
  "rgb": {
    "r": 84,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 78.14,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50018,
    "c": 0.11398,
    "h": 125.3
  },
  "luminance": 0.13103
}

Semantic roles & 50–950 ramp

primary
#546E18
secondary
#5D3EA4
accent
#41E773
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #546E18

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

Preview Lab → · Contrast checker → · Palette generator →

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