#45872C#45872C

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

Color values

HEX#45872C
RGBrgb(69, 135, 44)
HSLhsl(104, 51%, 35%)
HSVhsv(104, 67%, 53%)
CMYKcmyk(48.9%, 0%, 67.4%, 47.1%)
CIE-LABlab(50.42, -38.48, 41.06)
CIE-LCHlch(50.42, 56.27, 133.15°)
OKLaboklab(55.97% -0.1061 0.0945)
OKLCHoklch(55.97% 0.142 138.3)
XYZxyz(11.5724, 18.7742, 5.3964)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45872C #6E2C87
analogous
#73872C #45872C #2C8740
triadic
#45872C #2C4587 #872C45
tetradic
#45872C #2C7387 #6E2C87 #87402C
square
#45872C #2C7387 #6E2C87 #87402C
split-complementary
#45872C #402C87 #872C73
monochromatic
#162B0E #2D591D #45872C #5DB53B #7FCC62

Accessibility & contrast

On white

4.42
#45872C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##45872C#FFFFFF#000000##000000
##45872C1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C20
Deuteranopia (green-blind)
#827634
Tritanopia (blue-blind)
#408274
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #45872c;
/* rgb */ color: rgb(69, 135, 44);
/* oklch */ color: oklch(56.0% 0.142 138.3);
Tailwind
colors: {
  custom: {
    50: '#7faa6a',
    500: '#45872c',
    950: '#000000',
  },
}
SCSS
$custom: #45872c;
$custom-light: #7faa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#45872c",
  "rgb": {
    "r": 69,
    "g": 135,
    "b": 44
  },
  "hsl": {
    "h": 103.516,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55971,
    "c": 0.14211,
    "h": 138.3
  },
  "luminance": 0.18775
}

Semantic roles & 50–950 ramp

primary
#45872C
secondary
#9B5DB2
accent
#4DDAB4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #45872C

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

Preview Lab → · Contrast checker → · Palette generator →

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