#45470B#45470B

#45470B is a dark, moderate yellow. Relative luminance 0.058; OKLCH L 38.4% C 0.078 H 111.5°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#45470B
RGBrgb(69, 71, 11)
HSLhsl(62, 73%, 16%)
HSVhsv(62, 85%, 28%)
CMYKcmyk(2.8%, 0%, 84.5%, 72.2%)
CIE-LABlab(28.89, -9.09, 33.09)
CIE-LCHlch(28.89, 34.32, 105.37°)
OKLaboklab(38.39% -0.0286 0.0725)
OKLCHoklch(38.39% 0.078 111.5)
XYZxyz(4.7681, 5.7960, 1.1841)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45470B #0D0B47
analogous
#472B0B #45470B #27470B
triadic
#45470B #0B4547 #470B45
tetradic
#45470B #0B472B #0D0B47 #470B27
square
#45470B #0B472B #0D0B47 #470B27
split-complementary
#45470B #0B2747 #2B0B47
monochromatic
#1A1A04 #1A1A04 #45470B #787C13 #ACB11B

Accessibility & contrast

On white

9.73
#45470B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#45470B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45470B
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45470B#FFFFFF#000000##FFFFFF
##45470B1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4301
Deuteranopia (green-blind)
#4E4510
Tritanopia (blue-blind)
#4A423C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #45470b;
/* rgb */ color: rgb(69, 71, 11);
/* oklch */ color: oklch(38.4% 0.078 111.5);
Tailwind
colors: {
  custom: {
    50: '#7b7a50',
    500: '#45470b',
    950: '#000000',
  },
}
SCSS
$custom: #45470b;
$custom-light: #7b7a50;
$custom-dark: #000000;
JSON
{
  "hex": "#45470b",
  "rgb": {
    "r": 69,
    "g": 71,
    "b": 11
  },
  "hsl": {
    "h": 62,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.38388,
    "c": 0.0779,
    "h": 111.5
  },
  "luminance": 0.05796
}

Semantic roles & 50–950 ramp

primary
#45470B
secondary
#2D2A83
accent
#38F03E
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #45470B

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

Preview Lab → · Contrast checker → · Palette generator →

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