#547217#547217

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

Color values

HEX#547217
RGBrgb(84, 114, 23)
HSLhsl(80, 66%, 27%)
HSVhsv(80, 80%, 45%)
CMYKcmyk(26.3%, 0%, 79.8%, 55.3%)
CIE-LABlab(44.21, -24.82, 43.46)
CIE-LCHlch(44.21, 50.05, 119.74°)
OKLaboklab(51.06% -0.0717 0.0962)
OKLCHoklch(51.06% 0.12 126.7)
XYZxyz(9.8282, 13.9811, 2.9913)
Luminance0.1398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#547217 #351772
analogous
#726317 #547217 #277217
triadic
#547217 #175472 #721754
tetradic
#547217 #177263 #351772 #721727
square
#547217 #177263 #351772 #721727
split-complementary
#547217 #172772 #631772
monochromatic
#131905 #2E3F0D #547217 #7AA521 #9ED52E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##547217#FFFFFF#000000##FFFFFF
##5472171.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)
#786A02
Deuteranopia (green-blind)
#746820
Tritanopia (blue-blind)
#586C61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #547217;
/* rgb */ color: rgb(84, 114, 23);
/* oklch */ color: oklch(51.1% 0.120 126.7);
Tailwind
colors: {
  custom: {
    50: '#879a5c',
    500: '#547217',
    950: '#000000',
  },
}
SCSS
$custom: #547217;
$custom-light: #879a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#547217",
  "rgb": {
    "r": 84,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 79.78,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51061,
    "c": 0.11992,
    "h": 126.7
  },
  "luminance": 0.13981
}

Semantic roles & 50–950 ramp

primary
#547217
secondary
#603DA8
accent
#3EE977
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #547217

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

Preview Lab → · Contrast checker → · Palette generator →

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