#45812A#45812A

#45812A is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.3% C 0.135 H 137.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#45812A
RGBrgb(69, 129, 42)
HSLhsl(101, 51%, 34%)
HSVhsv(101, 67%, 51%)
CMYKcmyk(46.5%, 0%, 67.4%, 49.4%)
CIE-LABlab(48.43, -36.11, 39.79)
CIE-LCHlch(48.43, 53.73, 132.22°)
OKLaboklab(54.33% -0.0998 0.0916)
OKLCHoklch(54.33% 0.135 137.4)
XYZxyz(10.7221, 17.1322, 4.9319)
Luminance0.1713 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45812A #662A81
analogous
#70812A #45812A #2A813A
triadic
#45812A #2A4581 #812A45
tetradic
#45812A #2A7081 #662A81 #813A2A
square
#45812A #2A7081 #662A81 #813A2A
split-complementary
#45812A #3A2A81 #812A70
monochromatic
#14250C #2C531B #45812A #5EAF39 #7ECA5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45812A#FFFFFF#000000##FFFFFF
##45812A1.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)
#85761F
Deuteranopia (green-blind)
#7D7131
Tritanopia (blue-blind)
#427C6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #45812a;
/* rgb */ color: rgb(69, 129, 42);
/* oklch */ color: oklch(54.3% 0.135 137.4);
Tailwind
colors: {
  custom: {
    50: '#7ea668',
    500: '#45812a',
    950: '#000000',
  },
}
SCSS
$custom: #45812a;
$custom-light: #7ea668;
$custom-dark: #000000;
JSON
{
  "hex": "#45812a",
  "rgb": {
    "r": 69,
    "g": 129,
    "b": 42
  },
  "hsl": {
    "h": 101.379,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54327,
    "c": 0.13546,
    "h": 137.4
  },
  "luminance": 0.17133
}

Semantic roles & 50–950 ramp

primary
#45812A
secondary
#9457AF
accent
#4DDAAF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #45812A

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

Preview Lab → · Contrast checker → · Palette generator →

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