#45872F#45872F

#45872F is a mid, vivid green. Relative luminance 0.188; OKLCH L 56.0% C 0.140 H 138.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#45872F
RGBrgb(69, 135, 47)
HSLhsl(105, 48%, 36%)
HSVhsv(105, 65%, 53%)
CMYKcmyk(48.9%, 0%, 65.2%, 47.1%)
CIE-LABlab(50.45, -38.19, 39.73)
CIE-LCHlch(50.45, 55.11, 133.86°)
OKLaboklab(56% -0.1051 0.0921)
OKLCHoklch(56% 0.14 138.8)
XYZxyz(11.6309, 18.7976, 5.7042)
Luminance0.1880 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45872F #712F87
analogous
#71872F #45872F #2F8745
triadic
#45872F #2F4587 #872F45
tetradic
#45872F #2F7187 #712F87 #87452F
square
#45872F #2F7187 #712F87 #87452F
split-complementary
#45872F #452F87 #872F71
monochromatic
#172C0F #2E5A1F #45872F #5CB43F #7FCA66

Accessibility & contrast

On white

4.41
#45872F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#45872F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #45872F
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45872F#FFFFFF#000000##000000
##45872F1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C24
Deuteranopia (green-blind)
#827636
Tritanopia (blue-blind)
#408275
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #45872f;
/* rgb */ color: rgb(69, 135, 47);
/* oklch */ color: oklch(56.0% 0.140 138.8);
Tailwind
colors: {
  custom: {
    50: '#7eaa6b',
    500: '#45872f',
    950: '#000000',
  },
}
SCSS
$custom: #45872f;
$custom-light: #7eaa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#45872f",
  "rgb": {
    "r": 69,
    "g": 135,
    "b": 47
  },
  "hsl": {
    "h": 105,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56002,
    "c": 0.13973,
    "h": 138.8
  },
  "luminance": 0.18798
}

Semantic roles & 50–950 ramp

primary
#45872F
secondary
#9D61B1
accent
#50D8B6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #45872F

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

Preview Lab → · Contrast checker → · Palette generator →

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