#50450F#50450F

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

Color values

HEX#50450F
RGBrgb(80, 69, 15)
HSLhsl(50, 68%, 19%)
HSVhsv(50, 81%, 31%)
CMYKcmyk(0%, 13.8%, 81.3%, 68.6%)
CIE-LABlab(29.40, -2.04, 32.36)
CIE-LCHlch(29.40, 32.42, 93.61°)
OKLaboklab(39.07% -0.009 0.0713)
OKLCHoklch(39.07% 0.072 97.2)
XYZxyz(5.5229, 5.9965, 1.3184)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50450F #0F1A50
analogous
#50240F #50450F #3A500F
triadic
#50450F #0F5045 #450F50
tetradic
#50450F #0F5024 #0F1A50 #500F3A
square
#50450F #0F5024 #0F1A50 #500F3A
split-complementary
#50450F #0F3A50 #240F50
monochromatic
#1A1605 #1C1905 #50450F #847119 #B79E22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50450F#FFFFFF#000000##FFFFFF
##50450F1.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)
#4D4306
Deuteranopia (green-blind)
#504712
Tritanopia (blue-blind)
#573F3A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #50450f;
/* rgb */ color: rgb(80, 69, 15);
/* oklch */ color: oklch(39.1% 0.072 97.2);
Tailwind
colors: {
  custom: {
    50: '#847852',
    500: '#50450f',
    950: '#000000',
  },
}
SCSS
$custom: #50450f;
$custom-light: #847852;
$custom-dark: #000000;
JSON
{
  "hex": "#50450f",
  "rgb": {
    "r": 80,
    "g": 69,
    "b": 15
  },
  "hsl": {
    "h": 49.846,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39074,
    "c": 0.07186,
    "h": 97.2
  },
  "luminance": 0.05996
}

Semantic roles & 50–950 ramp

primary
#50450F
secondary
#31408A
accent
#5AEB3D
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #50450F

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

Preview Lab → · Contrast checker → · Palette generator →

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