#45470F#45470F

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

Color values

HEX#45470F
RGBrgb(69, 71, 15)
HSLhsl(62, 65%, 17%)
HSVhsv(62, 79%, 28%)
CMYKcmyk(2.8%, 0%, 78.9%, 72.2%)
CIE-LABlab(28.92, -8.88, 31.50)
CIE-LCHlch(28.92, 32.73, 105.74°)
OKLaboklab(38.42% -0.0275 0.07)
OKLCHoklch(38.42% 0.075 111.5)
XYZxyz(4.7939, 5.8063, 1.3200)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45470F #110F47
analogous
#472D0F #45470F #29470F
triadic
#45470F #0F4547 #470F45
tetradic
#45470F #0F472D #110F47 #470F29
square
#45470F #0F472D #110F47 #470F29
split-complementary
#45470F #0F2947 #2D0F47
monochromatic
#191905 #191905 #45470F #767A1A #A7AC24

Accessibility & contrast

On white

9.72
#45470F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45470F
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45470F#FFFFFF#000000##FFFFFF
##45470F1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #45470f;
/* rgb */ color: rgb(69, 71, 15);
/* oklch */ color: oklch(38.4% 0.075 111.5);
Tailwind
colors: {
  custom: {
    50: '#7b7a52',
    500: '#45470f',
    950: '#000000',
  },
}
SCSS
$custom: #45470f;
$custom-light: #7b7a52;
$custom-dark: #000000;
JSON
{
  "hex": "#45470f",
  "rgb": {
    "r": 69,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 62.143,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.38418,
    "c": 0.07518,
    "h": 111.5
  },
  "luminance": 0.05806
}

Semantic roles & 50–950 ramp

primary
#45470F
secondary
#333081
accent
#40E846
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #45470F

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

Preview Lab → · Contrast checker → · Palette generator →

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