#45571F#45571F

#45571F is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.8% C 0.084 H 124.8°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#45571F
RGBrgb(69, 87, 31)
HSLhsl(79, 47%, 23%)
HSVhsv(79, 64%, 34%)
CMYKcmyk(20.7%, 0%, 64.4%, 65.9%)
CIE-LABlab(34.36, -16.76, 29.58)
CIE-LCHlch(34.36, 33.99, 119.54°)
OKLaboklab(42.84% -0.0477 0.0686)
OKLCHoklch(42.84% 0.084 124.8)
XYZxyz(6.1098, 8.1805, 2.5532)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45571F #311F57
analogous
#574D1F #45571F #29571F
triadic
#45571F #1F4557 #571F45
tetradic
#45571F #1F574D #311F57 #571F29
square
#45571F #1F574D #311F57 #571F29
split-complementary
#45571F #1F2957 #4D1F57
monochromatic
#121708 #212A0F #45571F #69842F #8DB13F

Accessibility & contrast

On white

7.97
#45571F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#45571F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45571F
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45571F#FFFFFF#000000##FFFFFF
##45571F1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5119
Deuteranopia (green-blind)
#595123
Tritanopia (blue-blind)
#48534B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #45571f;
/* rgb */ color: rgb(69, 87, 31);
/* oklch */ color: oklch(42.8% 0.084 124.8);
Tailwind
colors: {
  custom: {
    50: '#7a865d',
    500: '#45571f',
    950: '#000000',
  },
}
SCSS
$custom: #45571f;
$custom-light: #7a865d;
$custom-dark: #000000;
JSON
{
  "hex": "#45571f",
  "rgb": {
    "r": 69,
    "g": 87,
    "b": 31
  },
  "hsl": {
    "h": 79.286,
    "s": 47.458,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42835,
    "c": 0.08351,
    "h": 124.8
  },
  "luminance": 0.08181
}

Semantic roles & 50–950 ramp

primary
#45571F
secondary
#5C468C
accent
#51D77C
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #45571F

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

Preview Lab → · Contrast checker → · Palette generator →

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