#547818#547818

#547818 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.6% C 0.127 H 128.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#547818
RGBrgb(84, 120, 24)
HSLhsl(83, 67%, 28%)
HSVhsv(83, 80%, 47%)
CMYKcmyk(30%, 0%, 80%, 52.9%)
CIE-LABlab(46.15, -27.71, 44.95)
CIE-LCHlch(46.15, 52.80, 121.66°)
OKLaboklab(52.65% -0.0794 0.0995)
OKLCHoklch(52.65% 0.127 128.6)
XYZxyz(10.5375, 15.3834, 3.2781)
Luminance0.1538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#547818 #3C1878
analogous
#786C18 #547818 #247818
triadic
#547818 #185478 #781854
tetradic
#547818 #18786C #3C1878 #781824
square
#547818 #18786C #3C1878 #781824
split-complementary
#547818 #182478 #6C1878
monochromatic
#121A05 #30450E #547818 #78AB22 #99D634

Accessibility & contrast

On white

5.15
#547818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#547818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #547818
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##547818#FFFFFF#000000##FFFFFF
##5478181.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F01
Deuteranopia (green-blind)
#796D22
Tritanopia (blue-blind)
#577266
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #547818;
/* rgb */ color: rgb(84, 120, 24);
/* oklch */ color: oklch(52.6% 0.127 128.6);
Tailwind
colors: {
  custom: {
    50: '#889f5d',
    500: '#547818',
    950: '#000000',
  },
}
SCSS
$custom: #547818;
$custom-light: #889f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#547818",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 82.5,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52647,
    "c": 0.12727,
    "h": 128.6
  },
  "luminance": 0.15384
}

Semantic roles & 50–950 ramp

primary
#547818
secondary
#683FAD
accent
#3EEA7E
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #547818

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

Preview Lab → · Contrast checker → · Palette generator →

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