#45842A#45842A

#45842A is a mid, vivid green. Relative luminance 0.179; OKLCH L 55.1% C 0.140 H 137.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#45842A
RGBrgb(69, 132, 42)
HSLhsl(102, 52%, 34%)
HSVhsv(102, 68%, 52%)
CMYKcmyk(47.7%, 0%, 68.2%, 48.2%)
CIE-LABlab(49.42, -37.40, 40.85)
CIE-LCHlch(49.42, 55.39, 132.47°)
OKLaboklab(55.14% -0.1033 0.0939)
OKLCHoklch(55.14% 0.14 137.7)
XYZxyz(11.1231, 17.9342, 5.0656)
Luminance0.1794 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45842A #692A84
analogous
#72842A #45842A #2A843C
triadic
#45842A #2A4584 #842A45
tetradic
#45842A #2A7284 #692A84 #843C2A
square
#45842A #2A7284 #692A84 #843C2A
split-complementary
#45842A #3C2A84 #842A72
monochromatic
#14270C #2D561B #45842A #5DB239 #7ECB5D

Accessibility & contrast

On white

4.58
#45842A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#45842A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #45842A
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45842A#FFFFFF#000000##000000
##45842A1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88791E
Deuteranopia (green-blind)
#807332
Tritanopia (blue-blind)
#417F72
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #45842a;
/* rgb */ color: rgb(69, 132, 42);
/* oklch */ color: oklch(55.1% 0.140 137.7);
Tailwind
colors: {
  custom: {
    50: '#7ea868',
    500: '#45842a',
    950: '#000000',
  },
}
SCSS
$custom: #45842a;
$custom-light: #7ea868;
$custom-dark: #000000;
JSON
{
  "hex": "#45842a",
  "rgb": {
    "r": 69,
    "g": 132,
    "b": 42
  },
  "hsl": {
    "h": 102,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55139,
    "c": 0.13957,
    "h": 137.7
  },
  "luminance": 0.17935
}

Semantic roles & 50–950 ramp

primary
#45842A
secondary
#9759B1
accent
#4DDBB0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #45842A

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

Preview Lab → · Contrast checker → · Palette generator →

#45842A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva