#45811D#45811D

#45811D is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.2% C 0.144 H 135.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#45811D
RGBrgb(69, 129, 29)
HSLhsl(96, 63%, 31%)
HSVhsv(96, 78%, 51%)
CMYKcmyk(46.5%, 0%, 77.5%, 49.4%)
CIE-LABlab(48.33, -37.16, 44.99)
CIE-LCHlch(48.33, 58.35, 129.56°)
OKLaboklab(54.22% -0.1036 0.1007)
OKLCHoklch(54.22% 0.144 135.8)
XYZxyz(10.5260, 17.0538, 3.8992)
Luminance0.1705 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45811D #591D81
analogous
#77811D #45811D #1D8127
triadic
#45811D #1D4581 #811D45
tetradic
#45811D #1D7781 #591D81 #81271D
square
#45811D #1D7781 #591D81 #81271D
split-complementary
#45811D #271D81 #811D77
monochromatic
#101D07 #2A4F12 #45811D #60B328 #7ED544

Accessibility & contrast

On white

4.76
#45811D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#45811D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #45811D
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45811D#FFFFFF#000000##FFFFFF
##45811D1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867607
Deuteranopia (green-blind)
#7E7127
Tritanopia (blue-blind)
#437C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #45811d;
/* rgb */ color: rgb(69, 129, 29);
/* oklch */ color: oklch(54.2% 0.144 135.8);
Tailwind
colors: {
  custom: {
    50: '#7fa661',
    500: '#45811d',
    950: '#000000',
  },
}
SCSS
$custom: #45811d;
$custom-light: #7fa661;
$custom-dark: #000000;
JSON
{
  "hex": "#45811d",
  "rgb": {
    "r": 69,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 96,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54215,
    "c": 0.14445,
    "h": 135.8
  },
  "luminance": 0.17054
}

Semantic roles & 50–950 ramp

primary
#45811D
secondary
#8846B4
accent
#41E6A4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #45811D

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

Preview Lab → · Contrast checker → · Palette generator →

#45811D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva