#45501B#45501B

#45501B is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.9% C 0.077 H 119.8°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#45501B
RGBrgb(69, 80, 27)
HSLhsl(72, 50%, 21%)
HSVhsv(72, 66%, 31%)
CMYKcmyk(13.8%, 0%, 66.3%, 68.6%)
CIE-LABlab(31.99, -13.22, 29.00)
CIE-LCHlch(31.99, 31.87, 114.51°)
OKLaboklab(40.92% -0.0383 0.0668)
OKLCHoklch(40.92% 0.077 119.8)
XYZxyz(5.5208, 7.0817, 2.1128)
Luminance0.0708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45501B #261B50
analogous
#50401B #45501B #2A501B
triadic
#45501B #1B4550 #501B45
tetradic
#45501B #1B5040 #261B50 #501B2A
square
#45501B #1B5040 #261B50 #501B2A
split-complementary
#45501B #1B2A50 #401B50
monochromatic
#141708 #1E220C #45501B #6C7E2A #94AC3A

Accessibility & contrast

On white

8.69
#45501B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#45501B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45501B
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45501B#FFFFFF#000000##FFFFFF
##45501B1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B15
Deuteranopia (green-blind)
#544B1F
Tritanopia (blue-blind)
#494C45
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #45501b;
/* rgb */ color: rgb(69, 80, 27);
/* oklch */ color: oklch(40.9% 0.077 119.8);
Tailwind
colors: {
  custom: {
    50: '#7a815a',
    500: '#45501b',
    950: '#000000',
  },
}
SCSS
$custom: #45501b;
$custom-light: #7a815a;
$custom-dark: #000000;
JSON
{
  "hex": "#45501b",
  "rgb": {
    "r": 69,
    "g": 80,
    "b": 27
  },
  "hsl": {
    "h": 72.453,
    "s": 49.533,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40917,
    "c": 0.07698,
    "h": 119.8
  },
  "luminance": 0.07082
}

Semantic roles & 50–950 ramp

primary
#45501B
secondary
#4F4186
accent
#4FD96B
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#090A04
muted
#7B7C79

Preview Lab

Preview with #45501B

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

Preview Lab → · Contrast checker → · Palette generator →

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