#45802F#45802F

#45802F is a mid, vivid green. Relative luminance 0.169; OKLCH L 54.1% C 0.130 H 138.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#45802F
RGBrgb(69, 128, 47)
HSLhsl(104, 46%, 34%)
HSVhsv(104, 63%, 50%)
CMYKcmyk(46.1%, 0%, 63.3%, 49.8%)
CIE-LABlab(48.14, -35.16, 37.16)
CIE-LCHlch(48.14, 51.16, 133.42°)
OKLaboklab(54.11% -0.0968 0.0866)
OKLCHoklch(54.11% 0.13 138.2)
XYZxyz(10.6861, 16.9081, 5.3893)
Luminance0.1691 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45802F #6A2F80
analogous
#6E802F #45802F #2F8042
triadic
#45802F #2F4580 #802F45
tetradic
#45802F #2F6E80 #6A2F80 #80422F
square
#45802F #2F6E80 #6A2F80 #80422F
split-complementary
#45802F #422F80 #802F6E
monochromatic
#15260E #2D531F #45802F #5DAD3F #7EC663

Accessibility & contrast

On white

4.79
#45802F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#45802F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #45802F
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45802F#FFFFFF#000000##FFFFFF
##45802F1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847526
Deuteranopia (green-blind)
#7C7035
Tritanopia (blue-blind)
#417C6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #45802f;
/* rgb */ color: rgb(69, 128, 47);
/* oklch */ color: oklch(54.1% 0.130 138.2);
Tailwind
colors: {
  custom: {
    50: '#7ea56b',
    500: '#45802f',
    950: '#000000',
  },
}
SCSS
$custom: #45802f;
$custom-light: #7ea56b;
$custom-dark: #000000;
JSON
{
  "hex": "#45802f",
  "rgb": {
    "r": 69,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 103.704,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54112,
    "c": 0.12993,
    "h": 138.2
  },
  "luminance": 0.16909
}

Semantic roles & 50–950 ramp

primary
#45802F
secondary
#975EAD
accent
#52D6B2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #45802F

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

Preview Lab → · Contrast checker → · Palette generator →

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