#45481F#45481F

#45481F is a dark, moderate yellow. Relative luminance 0.060; OKLCH L 38.9% C 0.061 H 112.7°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#45481F
RGBrgb(69, 72, 31)
HSLhsl(64, 40%, 20%)
HSVhsv(64, 57%, 28%)
CMYKcmyk(4.2%, 0%, 56.9%, 71.8%)
CIE-LABlab(29.41, -8.15, 23.91)
CIE-LCHlch(29.41, 25.26, 108.82°)
OKLaboklab(38.86% -0.0235 0.0564)
OKLCHoklch(38.86% 0.061 112.7)
XYZxyz(5.0190, 5.9990, 2.1896)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45481F #221F48
analogous
#48361F #45481F #30481F
triadic
#45481F #1F4548 #481F45
tetradic
#45481F #1F4836 #221F48 #481F30
square
#45481F #1F4836 #221F48 #481F30
split-complementary
#45481F #1F3048 #361F48
monochromatic
#141509 #1C1D0D #45481F #6E7331 #979E44

Accessibility & contrast

On white

9.55
#45481F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#45481F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45481F
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45481F#FFFFFF#000000##FFFFFF
##45481F1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D451B
Deuteranopia (green-blind)
#4D4621
Tritanopia (blue-blind)
#49443F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #45481f;
/* rgb */ color: rgb(69, 72, 31);
/* oklch */ color: oklch(38.9% 0.061 112.7);
Tailwind
colors: {
  custom: {
    50: '#7a7a5c',
    500: '#45481f',
    950: '#000000',
  },
}
SCSS
$custom: #45481f;
$custom-light: #7a7a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#45481f",
  "rgb": {
    "r": 69,
    "g": 72,
    "b": 31
  },
  "hsl": {
    "h": 64.39,
    "s": 39.806,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38863,
    "c": 0.06107,
    "h": 112.7
  },
  "luminance": 0.05999
}

Semantic roles & 50–950 ramp

primary
#45481F
secondary
#4A467D
accent
#58D061
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#090904
muted
#7B7B79

Preview Lab

Preview with #45481F

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

Preview Lab → · Contrast checker → · Palette generator →

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