#54945F#54945F

#54945F is a mid, moderate green. Relative luminance 0.239; OKLCH L 60.9% C 0.104 H 148.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#54945F
RGBrgb(84, 148, 95)
HSLhsl(130, 28%, 45%)
HSVhsv(130, 43%, 58%)
CMYKcmyk(43.2%, 0%, 35.8%, 42%)
CIE-LABlab(55.98, -32.39, 21.79)
CIE-LCHlch(55.98, 39.04, 146.08°)
OKLaboklab(60.92% -0.0882 0.0546)
OKLCHoklch(60.92% 0.104 148.3)
XYZxyz(16.3107, 23.8898, 14.5760)
Luminance0.2389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54945F #945489
analogous
#699454 #54945F #54947F
triadic
#54945F #5F5494 #945F54
tetradic
#54945F #546994 #945489 #947F54
square
#54945F #546994 #945489 #947F54
split-complementary
#54945F #7F5494 #945469
monochromatic
#28462D #3E6D46 #54945F #75B17F #9CC7A3

Accessibility & contrast

On white

3.63
#54945F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#54945F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54945F
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54945F#FFFFFF#000000##000000
##54945F1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958A5B
Deuteranopia (green-blind)
#8C8462
Tritanopia (blue-blind)
#4A9286
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #54945f;
/* rgb */ color: rgb(84, 148, 95);
/* oklch */ color: oklch(60.9% 0.104 148.3);
Tailwind
colors: {
  custom: {
    50: '#87b48d',
    500: '#54945f',
    950: '#000000',
  },
}
SCSS
$custom: #54945f;
$custom-light: #87b48d;
$custom-dark: #000000;
JSON
{
  "hex": "#54945f",
  "rgb": {
    "r": 84,
    "g": 148,
    "b": 95
  },
  "hsl": {
    "h": 130.313,
    "s": 27.586,
    "l": 45.49
  },
  "oklch": {
    "l": 0.60922,
    "c": 0.10372,
    "h": 148.3
  },
  "luminance": 0.23891
}

Semantic roles & 50–950 ramp

primary
#54945F
secondary
#B490AE
accent
#64B3C4
background
#F8FBF8
surface
#F0F6F0
border
#CBD0CB
text
#0C110C
muted
#7D807D

Preview Lab

Preview with #54945F

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

Preview Lab → · Contrast checker → · Palette generator →

#54945F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva