#547418#547418

#547418 is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.6% C 0.122 H 127.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#547418
RGBrgb(84, 116, 24)
HSLhsl(81, 66%, 27%)
HSVhsv(81, 79%, 45%)
CMYKcmyk(27.6%, 0%, 79.3%, 54.5%)
CIE-LABlab(44.86, -25.76, 43.72)
CIE-LCHlch(44.86, 50.75, 120.51°)
OKLaboklab(51.59% -0.0741 0.0969)
OKLCHoklch(51.59% 0.122 127.4)
XYZxyz(10.0664, 14.4413, 3.1211)
Luminance0.1444 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#547418 #381874
analogous
#746618 #547418 #267418
triadic
#547418 #185474 #741854
tetradic
#547418 #187466 #381874 #741826
square
#547418 #187466 #381874 #741826
split-complementary
#547418 #182674 #661874
monochromatic
#121905 #2F410E #547418 #79A722 #9CD532

Accessibility & contrast

On white

5.40
#547418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#547418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #547418
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##547418#FFFFFF#000000##FFFFFF
##5474181.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B03
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#576E63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #547418;
/* rgb */ color: rgb(84, 116, 24);
/* oklch */ color: oklch(51.6% 0.122 127.4);
Tailwind
colors: {
  custom: {
    50: '#879c5d',
    500: '#547418',
    950: '#000000',
  },
}
SCSS
$custom: #547418;
$custom-light: #879c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#547418",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 80.87,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51594,
    "c": 0.12198,
    "h": 127.4
  },
  "luminance": 0.14442
}

Semantic roles & 50–950 ramp

primary
#547418
secondary
#643FA9
accent
#3FE97A
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #547418

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

Preview Lab → · Contrast checker → · Palette generator →

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