#45400F#45400F

#45400F is a dark, moderate yellow. Relative luminance 0.050; OKLCH L 36.6% C 0.067 H 103.4°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#45400F
RGBrgb(69, 64, 15)
HSLhsl(54, 64%, 16%)
HSVhsv(54, 78%, 27%)
CMYKcmyk(0%, 7.2%, 78.3%, 72.9%)
CIE-LABlab(26.64, -4.61, 29.26)
CIE-LCHlch(26.64, 29.62, 98.96°)
OKLaboklab(36.6% -0.0156 0.0652)
OKLCHoklch(36.6% 0.067 103.4)
XYZxyz(4.3740, 4.9667, 1.1801)
Luminance0.0497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45400F #0F1445
analogous
#45250F #45400F #2F450F
triadic
#45400F #0F4540 #400F45
tetradic
#45400F #0F4525 #0F1445 #450F2F
square
#45400F #0F4525 #0F1445 #450F2F
split-complementary
#45400F #0F2F45 #250F45
monochromatic
#191705 #191705 #45400F #776F1A #AA9D25

Accessibility & contrast

On white

10.54
#45400F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#45400F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45400F
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45400F#FFFFFF#000000##FFFFFF
##45400F1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E08
Deuteranopia (green-blind)
#484012
Tritanopia (blue-blind)
#4B3B36
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #45400f;
/* rgb */ color: rgb(69, 64, 15);
/* oklch */ color: oklch(36.6% 0.067 103.4);
Tailwind
colors: {
  custom: {
    50: '#7b7451',
    500: '#45400f',
    950: '#000000',
  },
}
SCSS
$custom: #45400f;
$custom-light: #7b7451;
$custom-dark: #000000;
JSON
{
  "hex": "#45400f",
  "rgb": {
    "r": 69,
    "g": 64,
    "b": 15
  },
  "hsl": {
    "h": 54.444,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.366,
    "c": 0.06704,
    "h": 103.4
  },
  "luminance": 0.04966
}

Semantic roles & 50–950 ramp

primary
#45400F
secondary
#30387F
accent
#50E741
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #45400F

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

Preview Lab → · Contrast checker → · Palette generator →

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