#547212#547212

#547212 is a mid, vivid yellow-green. Relative luminance 0.140; OKLCH L 51.0% C 0.123 H 126.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#547212
RGBrgb(84, 114, 18)
HSLhsl(79, 73%, 26%)
HSVhsv(79, 84%, 45%)
CMYKcmyk(26.3%, 0%, 84.2%, 55.3%)
CIE-LABlab(44.18, -25.07, 45.06)
CIE-LCHlch(44.18, 51.57, 119.09°)
OKLaboklab(51.03% -0.0727 0.0987)
OKLCHoklch(51.03% 0.123 126.4)
XYZxyz(9.7827, 13.9629, 2.7519)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#547212 #301272
analogous
#726012 #547212 #247212
triadic
#547212 #125472 #721254
tetradic
#547212 #127260 #301272 #721224
square
#547212 #127260 #301272 #721224
split-complementary
#547212 #122472 #601272
monochromatic
#131A04 #2D3D0A #547212 #7BA71A #A2DC23

Accessibility & contrast

On white

5.54
#547212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#547212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #547212
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##547212#FFFFFF#000000##FFFFFF
##5472121.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#74681D
Tritanopia (blue-blind)
#586C61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #547212;
/* rgb */ color: rgb(84, 114, 18);
/* oklch */ color: oklch(51.0% 0.123 126.4);
Tailwind
colors: {
  custom: {
    50: '#889a5a',
    500: '#547212',
    950: '#000000',
  },
}
SCSS
$custom: #547212;
$custom-light: #889a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#547212",
  "rgb": {
    "r": 84,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 78.75,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.51032,
    "c": 0.12257,
    "h": 126.4
  },
  "luminance": 0.13963
}

Semantic roles & 50–950 ramp

primary
#547212
secondary
#5B37A9
accent
#38EF72
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #547212

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

Preview Lab → · Contrast checker → · Palette generator →

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