#54785B#54785B

#54785B is a mid, moderate green. Relative luminance 0.161; OKLCH L 53.7% C 0.061 H 150.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#54785B
RGBrgb(84, 120, 91)
HSLhsl(132, 18%, 40%)
HSVhsv(132, 30%, 47%)
CMYKcmyk(30%, 0%, 24.2%, 52.9%)
CIE-LABlab(47.07, -19.22, 11.92)
CIE-LCHlch(47.07, 22.62, 148.18°)
OKLaboklab(53.68% -0.0527 0.0305)
OKLCHoklch(53.68% 0.061 150)
XYZxyz(12.2604, 16.0726, 12.3518)
Luminance0.1607 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54785B #785471
analogous
#5F7854 #54785B #54786D
triadic
#54785B #5B5478 #785B54
tetradic
#54785B #545F78 #785471 #786D54
square
#54785B #545F78 #785471 #786D54
split-complementary
#54785B #6D5478 #78545F
monochromatic
#223024 #3B5440 #54785B #6F9A77 #93B399

Accessibility & contrast

On white

4.98
#54785B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#54785B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54785B
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54785B#FFFFFF#000000##FFFFFF
##54785B1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797259
Deuteranopia (green-blind)
#736E5D
Tritanopia (blue-blind)
#4F7770
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #54785b;
/* rgb */ color: rgb(84, 120, 91);
/* oklch */ color: oklch(53.7% 0.061 150.0);
Tailwind
colors: {
  custom: {
    50: '#859f89',
    500: '#54785b',
    950: '#000000',
  },
}
SCSS
$custom: #54785b;
$custom-light: #859f89;
$custom-dark: #000000;
JSON
{
  "hex": "#54785b",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 91
  },
  "hsl": {
    "h": 131.667,
    "s": 17.647,
    "l": 40
  },
  "oklch": {
    "l": 0.53684,
    "c": 0.06092,
    "h": 150
  },
  "luminance": 0.16073
}

Semantic roles & 50–950 ramp

primary
#54785B
secondary
#A1879C
accent
#6DABBA
background
#F8F9F8
surface
#EFF2F0
border
#CACCCB
text
#0B0E0B
muted
#7C7E7C

Preview Lab

Preview with #54785B

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

Preview Lab → · Contrast checker → · Palette generator →

#54785B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva