#514C0F#514C0F

#514C0F is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 40.9% C 0.078 H 104.5°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#514C0F
RGBrgb(81, 76, 15)
HSLhsl(55, 69%, 19%)
HSVhsv(55, 81%, 32%)
CMYKcmyk(0%, 6.2%, 81.5%, 68.2%)
CIE-LABlab(31.70, -5.81, 34.57)
CIE-LCHlch(31.70, 35.05, 99.53°)
OKLaboklab(40.92% -0.0197 0.0759)
OKLCHoklch(40.92% 0.078 104.5)
XYZxyz(6.0643, 6.9529, 1.4745)
Luminance0.0695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514C0F #0F1451
analogous
#512B0F #514C0F #35510F
triadic
#514C0F #0F514C #4C0F51
tetradic
#514C0F #0F512B #0F1451 #510F35
square
#514C0F #0F512B #0F1451 #510F35
split-complementary
#514C0F #0F3551 #2B0F51
monochromatic
#1A1805 #1D1C05 #514C0F #857C19 #B8AD22

Accessibility & contrast

On white

8.78
#514C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#514C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514C0F
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514C0F#FFFFFF#000000##FFFFFF
##514C0F1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544904
Deuteranopia (green-blind)
#554C14
Tritanopia (blue-blind)
#584640
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #514c0f;
/* rgb */ color: rgb(81, 76, 15);
/* oklch */ color: oklch(40.9% 0.078 104.5);
Tailwind
colors: {
  custom: {
    50: '#847d53',
    500: '#514c0f',
    950: '#000000',
  },
}
SCSS
$custom: #514c0f;
$custom-light: #847d53;
$custom-dark: #000000;
JSON
{
  "hex": "#514c0f",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 15
  },
  "hsl": {
    "h": 55.455,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.40922,
    "c": 0.07846,
    "h": 104.5
  },
  "luminance": 0.06953
}

Semantic roles & 50–950 ramp

primary
#514C0F
secondary
#31388B
accent
#49EC3C
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #514C0F

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

Preview Lab → · Contrast checker → · Palette generator →

#514C0F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva