#45812F#45812F

#45812F is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.4% C 0.131 H 138.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#45812F
RGBrgb(69, 129, 47)
HSLhsl(104, 47%, 35%)
HSVhsv(104, 64%, 51%)
CMYKcmyk(46.5%, 0%, 63.6%, 49.4%)
CIE-LABlab(48.47, -35.60, 37.53)
CIE-LCHlch(48.47, 51.73, 133.49°)
OKLaboklab(54.38% -0.098 0.0874)
OKLCHoklch(54.38% 0.131 138.3)
XYZxyz(10.8172, 17.1703, 5.4330)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45812F #6B2F81
analogous
#6E812F #45812F #2F8142
triadic
#45812F #2F4581 #812F45
tetradic
#45812F #2F6E81 #6B2F81 #81422F
square
#45812F #2F6E81 #6B2F81 #81422F
split-complementary
#45812F #422F81 #812F6E
monochromatic
#15270E #2D541F #45812F #5DAE3F #7EC664

Accessibility & contrast

On white

4.74
#45812F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#45812F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #45812F
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45812F#FFFFFF#000000##FFFFFF
##45812F1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857626
Deuteranopia (green-blind)
#7D7136
Tritanopia (blue-blind)
#417D70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #45812f;
/* rgb */ color: rgb(69, 129, 47);
/* oklch */ color: oklch(54.4% 0.131 138.3);
Tailwind
colors: {
  custom: {
    50: '#7ea66b',
    500: '#45812f',
    950: '#000000',
  },
}
SCSS
$custom: #45812f;
$custom-light: #7ea66b;
$custom-dark: #000000;
JSON
{
  "hex": "#45812f",
  "rgb": {
    "r": 69,
    "g": 129,
    "b": 47
  },
  "hsl": {
    "h": 103.902,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54382,
    "c": 0.13135,
    "h": 138.3
  },
  "luminance": 0.17171
}

Semantic roles & 50–950 ramp

primary
#45812F
secondary
#985EAD
accent
#52D6B3
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #45812F

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

Preview Lab → · Contrast checker → · Palette generator →

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