#547218#547218

#547218 is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.1% C 0.119 H 126.8°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#547218
RGBrgb(84, 114, 24)
HSLhsl(80, 65%, 27%)
HSVhsv(80, 79%, 45%)
CMYKcmyk(26.3%, 0%, 78.9%, 55.3%)
CIE-LABlab(44.21, -24.77, 43.11)
CIE-LCHlch(44.21, 49.72, 119.88°)
OKLaboklab(51.07% -0.0714 0.0956)
OKLCHoklch(51.07% 0.119 126.8)
XYZxyz(9.8384, 13.9852, 3.0451)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#547218 #361872
analogous
#726318 #547218 #277218
triadic
#547218 #185472 #721854
tetradic
#547218 #187263 #361872 #721827
square
#547218 #187263 #361872 #721827
split-complementary
#547218 #182772 #631872
monochromatic
#131905 #2F3F0D #547218 #79A523 #9DD431

Accessibility & contrast

On white

5.53
#547218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#547218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #547218
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##547218#FFFFFF#000000##FFFFFF
##5472181.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A04
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#586C61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #547218;
/* rgb */ color: rgb(84, 114, 24);
/* oklch */ color: oklch(51.1% 0.119 126.8);
Tailwind
colors: {
  custom: {
    50: '#879a5d',
    500: '#547218',
    950: '#000000',
  },
}
SCSS
$custom: #547218;
$custom-light: #879a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#547218",
  "rgb": {
    "r": 84,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 80,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51068,
    "c": 0.11932,
    "h": 126.8
  },
  "luminance": 0.13985
}

Semantic roles & 50–950 ramp

primary
#547218
secondary
#613EA7
accent
#40E878
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #547218

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

Preview Lab → · Contrast checker → · Palette generator →

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