#45841D#45841D

#45841D is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.0% C 0.148 H 136.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#45841D
RGBrgb(69, 132, 29)
HSLhsl(97, 64%, 32%)
HSVhsv(97, 78%, 52%)
CMYKcmyk(47.7%, 0%, 78%, 48.2%)
CIE-LABlab(49.32, -38.43, 45.95)
CIE-LCHlch(49.32, 59.91, 129.91°)
OKLaboklab(55.03% -0.107 0.1027)
OKLCHoklch(55.03% 0.148 136.2)
XYZxyz(10.9270, 17.8557, 4.0329)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45841D #5C1D84
analogous
#79841D #45841D #1D8429
triadic
#45841D #1D4584 #841D45
tetradic
#45841D #1D7984 #5C1D84 #84291D
square
#45841D #1D7984 #5C1D84 #84291D
split-complementary
#45841D #291D84 #841D79
monochromatic
#112007 #2B5212 #45841D #5FB628 #7ED645

Accessibility & contrast

On white

4.59
#45841D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#45841D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #45841D
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45841D#FFFFFF#000000##FFFFFF
##45841D1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897805
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#427F70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #45841d;
/* rgb */ color: rgb(69, 132, 29);
/* oklch */ color: oklch(55.0% 0.148 136.2);
Tailwind
colors: {
  custom: {
    50: '#7fa861',
    500: '#45841d',
    950: '#000000',
  },
}
SCSS
$custom: #45841d;
$custom-light: #7fa861;
$custom-dark: #000000;
JSON
{
  "hex": "#45841d",
  "rgb": {
    "r": 69,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 96.699,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5503,
    "c": 0.14832,
    "h": 136.2
  },
  "luminance": 0.17856
}

Semantic roles & 50–950 ramp

primary
#45841D
secondary
#8B46B7
accent
#41E7A6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #45841D

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

Preview Lab → · Contrast checker → · Palette generator →

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