#45520B#45520B

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

Color values

HEX#45520B
RGBrgb(69, 82, 11)
HSLhsl(71, 76%, 18%)
HSVhsv(71, 87%, 32%)
CMYKcmyk(15.9%, 0%, 86.6%, 67.8%)
CIE-LABlab(32.53, -15.43, 36.39)
CIE-LCHlch(32.53, 39.53, 112.97°)
OKLaboklab(41.31% -0.046 0.0795)
OKLCHoklch(41.31% 0.092 120.1)
XYZxyz(5.5321, 7.3240, 1.4388)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45520B #180B52
analogous
#523B0B #45520B #21520B
triadic
#45520B #0B4552 #520B45
tetradic
#45520B #0B523B #180B52 #520B21
square
#45520B #0B523B #180B52 #520B21
split-complementary
#45520B #0B2152 #3B0B52
monochromatic
#171B04 #181C04 #45520B #728812 #A0BE19

Accessibility & contrast

On white

8.52
#45520B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#45520B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45520B
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45520B#FFFFFF#000000##FFFFFF
##45520B1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D00
Deuteranopia (green-blind)
#564D12
Tritanopia (blue-blind)
#4A4D45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #45520b;
/* rgb */ color: rgb(69, 82, 11);
/* oklch */ color: oklch(41.3% 0.092 120.1);
Tailwind
colors: {
  custom: {
    50: '#7b8252',
    500: '#45520b',
    950: '#000000',
  },
}
SCSS
$custom: #45520b;
$custom-light: #7b8252;
$custom-dark: #000000;
JSON
{
  "hex": "#45520b",
  "rgb": {
    "r": 69,
    "g": 82,
    "b": 11
  },
  "hsl": {
    "h": 70.986,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.41314,
    "c": 0.09187,
    "h": 120.1
  },
  "luminance": 0.07324
}

Semantic roles & 50–950 ramp

primary
#45520B
secondary
#3D2B8E
accent
#35F358
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0A02
muted
#7C7C78

Preview Lab

Preview with #45520B

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

Preview Lab → · Contrast checker → · Palette generator →

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