#45795C#45795C

#45795C is a mid, moderate green. Relative luminance 0.157; OKLCH L 53.1% C 0.073 H 158.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#45795C
RGBrgb(69, 121, 92)
HSLhsl(147, 27%, 37%)
HSVhsv(147, 43%, 47%)
CMYKcmyk(43%, 0%, 24%, 52.5%)
CIE-LABlab(46.59, -24.51, 10.55)
CIE-LCHlch(46.59, 26.68, 156.71°)
OKLaboklab(53.09% -0.0676 0.027)
OKLCHoklch(53.09% 0.073 158.2)
XYZxyz(11.2226, 15.7119, 12.5645)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45795C #794562
analogous
#487945 #45795C #457976
triadic
#45795C #5C4579 #795C45
tetradic
#45795C #454879 #794562 #797645
square
#45795C #454879 #794562 #797645
split-complementary
#45795C #764579 #794548
monochromatic
#192B21 #2F523E #45795C #5BA07A #81B799

Accessibility & contrast

On white

5.07
#45795C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#45795C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #45795C
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45795C#FFFFFF#000000##FFFFFF
##45795C1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78725A
Deuteranopia (green-blind)
#706C5E
Tritanopia (blue-blind)
#397871
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #45795c;
/* rgb */ color: rgb(69, 121, 92);
/* oklch */ color: oklch(53.1% 0.073 158.2);
Tailwind
colors: {
  custom: {
    50: '#7ba08a',
    500: '#45795c',
    950: '#000000',
  },
}
SCSS
$custom: #45795c;
$custom-light: #7ba08a;
$custom-dark: #000000;
JSON
{
  "hex": "#45795c",
  "rgb": {
    "r": 69,
    "g": 121,
    "b": 92
  },
  "hsl": {
    "h": 146.538,
    "s": 27.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.53089,
    "c": 0.07284,
    "h": 158.2
  },
  "luminance": 0.15713
}

Semantic roles & 50–950 ramp

primary
#45795C
secondary
#A3778F
accent
#6499C4
background
#F7F9F8
surface
#EEF2F0
border
#C9CCCB
text
#090E0B
muted
#7B7E7C

Preview Lab

Preview with #45795C

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

Preview Lab → · Contrast checker → · Palette generator →

#45795C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva