#45872E#45872E

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

Color values

HEX#45872E
RGBrgb(69, 135, 46)
HSLhsl(104, 49%, 35%)
HSVhsv(104, 66%, 53%)
CMYKcmyk(48.9%, 0%, 65.9%, 47.1%)
CIE-LABlab(50.44, -38.29, 40.18)
CIE-LCHlch(50.44, 55.50, 133.62°)
OKLaboklab(55.99% -0.1054 0.0929)
OKLCHoklch(55.99% 0.141 138.6)
XYZxyz(11.6109, 18.7896, 5.5992)
Luminance0.1879 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45872E #702E87
analogous
#71872E #45872E #2E8743
triadic
#45872E #2E4587 #872E45
tetradic
#45872E #2E7187 #702E87 #87432E
square
#45872E #2E7187 #702E87 #87432E
split-complementary
#45872E #432E87 #872E71
monochromatic
#162C0F #2E591E #45872E #5CB53E #7FCA65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45872E#FFFFFF#000000##000000
##45872E1.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)
#8B7C23
Deuteranopia (green-blind)
#827635
Tritanopia (blue-blind)
#408274
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #45872e;
/* rgb */ color: rgb(69, 135, 46);
/* oklch */ color: oklch(56.0% 0.141 138.6);
Tailwind
colors: {
  custom: {
    50: '#7faa6b',
    500: '#45872e',
    950: '#000000',
  },
}
SCSS
$custom: #45872e;
$custom-light: #7faa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#45872e",
  "rgb": {
    "r": 69,
    "g": 135,
    "b": 46
  },
  "hsl": {
    "h": 104.494,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55991,
    "c": 0.14053,
    "h": 138.6
  },
  "luminance": 0.1879
}

Semantic roles & 50–950 ramp

primary
#45872E
secondary
#9C60B1
accent
#4FD9B5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #45872E

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

Preview Lab → · Contrast checker → · Palette generator →

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