#45520F#45520F

#45520F is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.3% C 0.090 H 120.3°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#45520F
RGBrgb(69, 82, 15)
HSLhsl(72, 69%, 19%)
HSVhsv(72, 82%, 32%)
CMYKcmyk(15.9%, 0%, 81.7%, 67.8%)
CIE-LABlab(32.56, -15.22, 34.99)
CIE-LCHlch(32.56, 38.16, 113.51°)
OKLaboklab(41.34% -0.0451 0.0773)
OKLCHoklch(41.34% 0.09 120.3)
XYZxyz(5.5579, 7.3343, 1.5747)
Luminance0.0733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45520F #1C0F52
analogous
#523E0F #45520F #24520F
triadic
#45520F #0F4552 #520F45
tetradic
#45520F #0F523E #1C0F52 #520F24
square
#45520F #0F523E #1C0F52 #520F24
split-complementary
#45520F #0F2452 #3E0F52
monochromatic
#161A05 #191E06 #45520F #718618 #9CB922

Accessibility & contrast

On white

8.51
#45520F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#45520F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45520F
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45520F#FFFFFF#000000##FFFFFF
##45520F1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D02
Deuteranopia (green-blind)
#564D15
Tritanopia (blue-blind)
#494D45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #45520f;
/* rgb */ color: rgb(69, 82, 15);
/* oklch */ color: oklch(41.3% 0.090 120.3);
Tailwind
colors: {
  custom: {
    50: '#7b8253',
    500: '#45520f',
    950: '#000000',
  },
}
SCSS
$custom: #45520f;
$custom-light: #7b8253;
$custom-dark: #000000;
JSON
{
  "hex": "#45520f",
  "rgb": {
    "r": 69,
    "g": 82,
    "b": 15
  },
  "hsl": {
    "h": 71.642,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.41339,
    "c": 0.08951,
    "h": 120.3
  },
  "luminance": 0.07334
}

Semantic roles & 50–950 ramp

primary
#45520F
secondary
#42318C
accent
#3CEC5E
background
#F7F7F4
surface
#EEEEE8
border
#C9C9C4
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #45520F

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

Preview Lab → · Contrast checker → · Palette generator →

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