#45804F#45804F

#45804F is a mid, moderate green. Relative luminance 0.173; OKLCH L 54.6% C 0.098 H 148.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#45804F
RGBrgb(69, 128, 79)
HSLhsl(130, 30%, 39%)
HSVhsv(130, 46%, 50%)
CMYKcmyk(46.1%, 0%, 38.3%, 49.8%)
CIE-LABlab(48.60, -30.53, 20.78)
CIE-LCHlch(48.60, 36.93, 145.75°)
OKLaboklab(54.63% -0.083 0.0518)
OKLCHoklch(54.63% 0.098 148)
XYZxyz(11.5840, 17.2673, 10.1181)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45804F #804576
analogous
#588045 #45804F #45806C
triadic
#45804F #4F4580 #804F45
tetradic
#45804F #455880 #804576 #806C45
square
#45804F #455880 #804576 #806C45
split-complementary
#45804F #6C4580 #804558
monochromatic
#1A301E #305836 #45804F #5BA768 #83BC8D

Accessibility & contrast

On white

4.72
#45804F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#45804F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #45804F
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45804F#FFFFFF#000000##FFFFFF
##45804F1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81774C
Deuteranopia (green-blind)
#797152
Tritanopia (blue-blind)
#3B7E74
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #45804f;
/* rgb */ color: rgb(69, 128, 79);
/* oklch */ color: oklch(54.6% 0.098 148.0);
Tailwind
colors: {
  custom: {
    50: '#7ca581',
    500: '#45804f',
    950: '#000000',
  },
}
SCSS
$custom: #45804f;
$custom-light: #7ca581;
$custom-dark: #000000;
JSON
{
  "hex": "#45804f",
  "rgb": {
    "r": 69,
    "g": 128,
    "b": 79
  },
  "hsl": {
    "h": 130.169,
    "s": 29.949,
    "l": 38.627
  },
  "oklch": {
    "l": 0.54627,
    "c": 0.09789,
    "h": 148
  },
  "luminance": 0.17268
}

Semantic roles & 50–950 ramp

primary
#45804F
secondary
#A879A0
accent
#62B5C6
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#0A0F0A
muted
#7C7F7C

Preview Lab

Preview with #45804F

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

Preview Lab → · Contrast checker → · Palette generator →

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