#547822#547822

#547822 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.7% C 0.121 H 129.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#547822
RGBrgb(84, 120, 34)
HSLhsl(85, 56%, 30%)
HSVhsv(85, 72%, 47%)
CMYKcmyk(30%, 0%, 71.7%, 52.9%)
CIE-LABlab(46.22, -27.06, 41.18)
CIE-LCHlch(46.22, 49.28, 123.31°)
OKLaboklab(52.72% -0.0768 0.0932)
OKLCHoklch(52.72% 0.121 129.5)
XYZxyz(10.6613, 15.4330, 3.9302)
Luminance0.1543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#547822 #462278
analogous
#787122 #547822 #297822
triadic
#547822 #225478 #782254
tetradic
#547822 #227871 #462278 #782229
square
#547822 #227871 #462278 #782229
split-complementary
#547822 #222978 #712278
monochromatic
#111907 #334814 #547822 #75A830 #95CB49

Accessibility & contrast

On white

5.14
#547822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#547822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #547822
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##547822#FFFFFF#000000##FFFFFF
##5478221.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F15
Deuteranopia (green-blind)
#796D29
Tritanopia (blue-blind)
#567367
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #547822;
/* rgb */ color: rgb(84, 120, 34);
/* oklch */ color: oklch(52.7% 0.121 129.5);
Tailwind
colors: {
  custom: {
    50: '#879f63',
    500: '#547822',
    950: '#000000',
  },
}
SCSS
$custom: #547822;
$custom-light: #879f63;
$custom-dark: #000000;
JSON
{
  "hex": "#547822",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 85.116,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52722,
    "c": 0.12077,
    "h": 129.5
  },
  "luminance": 0.15433
}

Semantic roles & 50–950 ramp

primary
#547822
secondary
#734BAB
accent
#49DF88
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E05
muted
#7D7E7A

Preview Lab

Preview with #547822

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

Preview Lab → · Contrast checker → · Palette generator →

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