#547112#547112

#547112 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.8% C 0.121 H 126.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#547112
RGBrgb(84, 113, 18)
HSLhsl(78, 73%, 26%)
HSVhsv(78, 84%, 44%)
CMYKcmyk(25.7%, 0%, 84.1%, 55.7%)
CIE-LABlab(43.86, -24.58, 44.77)
CIE-LCHlch(43.86, 51.08, 118.76°)
OKLaboklab(50.77% -0.0714 0.0981)
OKLCHoklch(50.77% 0.121 126.1)
XYZxyz(9.6705, 13.7386, 2.7145)
Luminance0.1374 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#547112 #2F1271
analogous
#715E12 #547112 #247112
triadic
#547112 #125471 #711254
tetradic
#547112 #12715E #2F1271 #711224
square
#547112 #12715E #2F1271 #711224
split-complementary
#547112 #122471 #5E1271
monochromatic
#141A04 #2D3C0A #547112 #7BA61A #A2DB23

Accessibility & contrast

On white

5.60
#547112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#547112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #547112
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##547112#FFFFFF#000000##FFFFFF
##5471121.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#74671C
Tritanopia (blue-blind)
#586B60
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #547112;
/* rgb */ color: rgb(84, 113, 18);
/* oklch */ color: oklch(50.8% 0.121 126.1);
Tailwind
colors: {
  custom: {
    50: '#889a5a',
    500: '#547112',
    950: '#000000',
  },
}
SCSS
$custom: #547112;
$custom-light: #889a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#547112",
  "rgb": {
    "r": 84,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 78.316,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50769,
    "c": 0.12127,
    "h": 126.1
  },
  "luminance": 0.13739
}

Semantic roles & 50–950 ramp

primary
#547112
secondary
#5937A8
accent
#39EF70
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #547112

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

Preview Lab → · Contrast checker → · Palette generator →

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