#5A9268#5A9268

#5A9268 is a mid, moderate green. Relative luminance 0.237; OKLCH L 60.9% C 0.087 H 151.1°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5A9268
RGBrgb(90, 146, 104)
HSLhsl(135, 24%, 46%)
HSVhsv(135, 38%, 57%)
CMYKcmyk(38.4%, 0%, 28.8%, 42.7%)
CIE-LABlab(55.82, -27.88, 16.60)
CIE-LCHlch(55.82, 32.44, 149.24°)
OKLaboklab(60.93% -0.0763 0.0421)
OKLCHoklch(60.93% 0.087 151.1)
XYZxyz(16.9930, 23.7299, 16.7790)
Luminance0.2373 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9268 #925A84
analogous
#68925A #5A9268 #5A9284
triadic
#5A9268 #685A92 #92685A
tetradic
#5A9268 #5A6892 #925A84 #92845A
square
#5A9268 #5A6892 #925A84 #92845A
split-complementary
#5A9268 #845A92 #925A68
monochromatic
#2B4632 #436C4D #5A9268 #7BAE88 #A1C5AA

Accessibility & contrast

On white

3.65
#5A9268 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#5A9268 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9268
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9268#FFFFFF#000000##000000
##5A92681.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938965
Deuteranopia (green-blind)
#8A836A
Tritanopia (blue-blind)
#519087
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5a9268;
/* rgb */ color: rgb(90, 146, 104);
/* oklch */ color: oklch(60.9% 0.087 151.1);
Tailwind
colors: {
  custom: {
    50: '#8bb293',
    500: '#5a9268',
    950: '#000000',
  },
}
SCSS
$custom: #5a9268;
$custom-light: #8bb293;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9268",
  "rgb": {
    "r": 90,
    "g": 146,
    "b": 104
  },
  "hsl": {
    "h": 135,
    "s": 23.729,
    "l": 46.275
  },
  "oklch": {
    "l": 0.60927,
    "c": 0.08714,
    "h": 151.1
  },
  "luminance": 0.23731
}

Semantic roles & 50–950 ramp

primary
#5A9268
secondary
#B395AB
accent
#68AAC0
background
#F8FBF9
surface
#F0F6F1
border
#CBD0CB
text
#0C110D
muted
#7D807E

Preview Lab

Preview with #5A9268

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

Preview Lab → · Contrast checker → · Palette generator →

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