#45581F#45581F

#45581F is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 43.1% C 0.085 H 125.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#45581F
RGBrgb(69, 88, 31)
HSLhsl(80, 48%, 23%)
HSVhsv(80, 65%, 35%)
CMYKcmyk(21.6%, 0%, 64.8%, 65.5%)
CIE-LABlab(34.69, -17.30, 29.95)
CIE-LCHlch(34.69, 34.59, 120.02°)
OKLaboklab(43.1% -0.0492 0.0693)
OKLCHoklch(43.1% 0.085 125.4)
XYZxyz(6.1913, 8.3435, 2.5803)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45581F #321F58
analogous
#584E1F #45581F #28581F
triadic
#45581F #1F4558 #581F45
tetradic
#45581F #1F584E #321F58 #581F28
square
#45581F #1F584E #321F58 #581F28
split-complementary
#45581F #1F2858 #4E1F58
monochromatic
#121708 #222B0F #45581F #68852F #8CB33F

Accessibility & contrast

On white

7.87
#45581F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#45581F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45581F
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45581F#FFFFFF#000000##FFFFFF
##45581F1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5219
Deuteranopia (green-blind)
#5A5123
Tritanopia (blue-blind)
#48544C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #45581f;
/* rgb */ color: rgb(69, 88, 31);
/* oklch */ color: oklch(43.1% 0.085 125.4);
Tailwind
colors: {
  custom: {
    50: '#7a875d',
    500: '#45581f',
    950: '#000000',
  },
}
SCSS
$custom: #45581f;
$custom-light: #7a875d;
$custom-dark: #000000;
JSON
{
  "hex": "#45581f",
  "rgb": {
    "r": 69,
    "g": 88,
    "b": 31
  },
  "hsl": {
    "h": 80,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.43103,
    "c": 0.08503,
    "h": 125.4
  },
  "luminance": 0.08344
}

Semantic roles & 50–950 ramp

primary
#45581F
secondary
#5E468D
accent
#50D77D
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #45581F

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

Preview Lab → · Contrast checker → · Palette generator →

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