#45540F#45540F

#45540F is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.9% C 0.092 H 121.5°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#45540F
RGBrgb(69, 84, 15)
HSLhsl(73, 70%, 19%)
HSVhsv(73, 82%, 33%)
CMYKcmyk(17.9%, 0%, 82.1%, 67.1%)
CIE-LABlab(33.22, -16.33, 35.62)
CIE-LCHlch(33.22, 39.18, 114.63°)
OKLaboklab(41.88% -0.0482 0.0786)
OKLCHoklch(41.88% 0.092 121.5)
XYZxyz(5.7109, 7.6403, 1.6257)
Luminance0.0764 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45540F #1E0F54
analogous
#54410F #45540F #23540F
triadic
#45540F #0F4554 #540F45
tetradic
#45540F #0F5441 #1E0F54 #540F23
square
#45540F #0F5441 #1E0F54 #540F23
split-complementary
#45540F #0F2354 #410F54
monochromatic
#151A05 #1A2006 #45540F #708818 #9ABC22

Accessibility & contrast

On white

8.31
#45540F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#45540F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45540F
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45540F#FFFFFF#000000##FFFFFF
##45540F1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4E02
Deuteranopia (green-blind)
#584E15
Tritanopia (blue-blind)
#494F47
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #45540f;
/* rgb */ color: rgb(69, 84, 15);
/* oklch */ color: oklch(41.9% 0.092 121.5);
Tailwind
colors: {
  custom: {
    50: '#7b8454',
    500: '#45540f',
    950: '#000000',
  },
}
SCSS
$custom: #45540f;
$custom-light: #7b8454;
$custom-dark: #000000;
JSON
{
  "hex": "#45540f",
  "rgb": {
    "r": 69,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 73.043,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.41877,
    "c": 0.09221,
    "h": 121.5
  },
  "luminance": 0.0764
}

Semantic roles & 50–950 ramp

primary
#45540F
secondary
#45318E
accent
#3BED62
background
#F7F8F5
surface
#EEEFE8
border
#C9CAC4
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #45540F

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

Preview Lab → · Contrast checker → · Palette generator →

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