#5A894E#5A894E

#5A894E is a mid, moderate green. Relative luminance 0.206; OKLCH L 58.1% C 0.101 H 139.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5A894E
RGBrgb(90, 137, 78)
HSLhsl(108, 27%, 42%)
HSVhsv(108, 43%, 54%)
CMYKcmyk(34.3%, 0%, 43.1%, 46.3%)
CIE-LABlab(52.52, -27.97, 26.67)
CIE-LCHlch(52.52, 38.65, 136.37°)
OKLaboklab(58.1% -0.0765 0.0655)
OKLCHoklch(58.1% 0.101 139.4)
XYZxyz(14.5368, 20.6144, 10.4193)
Luminance0.2061 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A894E #7D4E89
analogous
#78894E #5A894E #4E8960
triadic
#5A894E #4E5A89 #894E5A
tetradic
#5A894E #4E7889 #7D4E89 #89604E
square
#5A894E #4E7889 #7D4E89 #89604E
split-complementary
#5A894E #604E89 #894E78
monochromatic
#273B22 #406238 #5A894E #77AA6A #9BC091

Accessibility & contrast

On white

4.10
#5A894E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5A894E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A894E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A894E#FFFFFF#000000##000000
##5A894E1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C804A
Deuteranopia (green-blind)
#857C52
Tritanopia (blue-blind)
#57857B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5a894e;
/* rgb */ color: rgb(90, 137, 78);
/* oklch */ color: oklch(58.1% 0.101 139.4);
Tailwind
colors: {
  custom: {
    50: '#8bab80',
    500: '#5a894e',
    950: '#000000',
  },
}
SCSS
$custom: #5a894e;
$custom-light: #8bab80;
$custom-dark: #000000;
JSON
{
  "hex": "#5a894e",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 78
  },
  "hsl": {
    "h": 107.797,
    "s": 27.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.58104,
    "c": 0.10068,
    "h": 139.4
  },
  "luminance": 0.20615
}

Semantic roles & 50–950 ramp

primary
#5A894E
secondary
#A586AD
accent
#64C4B0
background
#F8FAF7
surface
#F0F4EE
border
#CBCEC9
text
#0C100A
muted
#7D7F7C

Preview Lab

Preview with #5A894E

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

Preview Lab → · Contrast checker → · Palette generator →

#5A894E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva