#547817#547817

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

Color values

HEX#547817
RGBrgb(84, 120, 23)
HSLhsl(82, 68%, 28%)
HSVhsv(82, 81%, 47%)
CMYKcmyk(30%, 0%, 80.8%, 52.9%)
CIE-LABlab(46.15, -27.76, 45.28)
CIE-LCHlch(46.15, 53.11, 121.52°)
OKLaboklab(52.64% -0.0796 0.1)
OKLCHoklch(52.64% 0.128 128.5)
XYZxyz(10.5273, 15.3793, 3.2243)
Luminance0.1538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#547817 #3B1778
analogous
#786B17 #547817 #237817
triadic
#547817 #175478 #781754
tetradic
#547817 #17786B #3B1778 #781723
square
#547817 #17786B #3B1778 #781723
split-complementary
#547817 #172378 #6B1778
monochromatic
#121A05 #30450D #547817 #78AB21 #9AD832

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##547817#FFFFFF#000000##FFFFFF
##5478171.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)
#7E6F00
Deuteranopia (green-blind)
#796D21
Tritanopia (blue-blind)
#577266
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #547817;
/* rgb */ color: rgb(84, 120, 23);
/* oklch */ color: oklch(52.6% 0.128 128.5);
Tailwind
colors: {
  custom: {
    50: '#889f5d',
    500: '#547817',
    950: '#000000',
  },
}
SCSS
$custom: #547817;
$custom-light: #889f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#547817",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 82.268,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52641,
    "c": 0.12782,
    "h": 128.5
  },
  "luminance": 0.1538
}

Semantic roles & 50–950 ramp

primary
#547817
secondary
#673EAD
accent
#3DEB7E
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #547817

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

Preview Lab → · Contrast checker → · Palette generator →

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