#45581C#45581C

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

Color values

HEX#45581C
RGBrgb(69, 88, 28)
HSLhsl(79, 52%, 23%)
HSVhsv(79, 68%, 35%)
CMYKcmyk(21.6%, 0%, 68.2%, 65.5%)
CIE-LABlab(34.66, -17.58, 31.41)
CIE-LCHlch(34.66, 35.99, 119.24°)
OKLaboklab(43.07% -0.0503 0.072)
OKLCHoklch(43.07% 0.088 124.9)
XYZxyz(6.1536, 8.3284, 2.3817)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45581C #2F1C58
analogous
#584D1C #45581C #27581C
triadic
#45581C #1C4558 #581C45
tetradic
#45581C #1C584D #2F1C58 #581C27
square
#45581C #1C584D #2F1C58 #581C27
split-complementary
#45581C #1C2758 #4D1C58
monochromatic
#121707 #212A0D #45581C #69862B #8EB53A

Accessibility & contrast

On white

7.88
#45581C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45581C
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45581C#FFFFFF#000000##FFFFFF
##45581C1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5215
Deuteranopia (green-blind)
#5A5120
Tritanopia (blue-blind)
#48544B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #45581c;
/* rgb */ color: rgb(69, 88, 28);
/* oklch */ color: oklch(43.1% 0.088 124.9);
Tailwind
colors: {
  custom: {
    50: '#7b875b',
    500: '#45581c',
    950: '#000000',
  },
}
SCSS
$custom: #45581c;
$custom-light: #7b875b;
$custom-dark: #000000;
JSON
{
  "hex": "#45581c",
  "rgb": {
    "r": 69,
    "g": 88,
    "b": 28
  },
  "hsl": {
    "h": 79,
    "s": 51.724,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43069,
    "c": 0.08785,
    "h": 124.9
  },
  "luminance": 0.08328
}

Semantic roles & 50–950 ramp

primary
#45581C
secondary
#5A428E
accent
#4DDB7A
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #45581C

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

Preview Lab → · Contrast checker → · Palette generator →

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