#514E1E#514E1E

#514E1E is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.6% C 0.068 H 105.7°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#514E1E
RGBrgb(81, 78, 30)
HSLhsl(56, 46%, 22%)
HSVhsv(56, 63%, 32%)
CMYKcmyk(0%, 3.7%, 63%, 68.2%)
CIE-LABlab(32.46, -5.98, 28.26)
CIE-LCHlch(32.46, 28.89, 101.95°)
OKLaboklab(41.57% -0.0183 0.0654)
OKLCHoklch(41.57% 0.068 105.7)
XYZxyz(6.3523, 7.2920, 2.3009)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514E1E #1E2151
analogous
#51351E #514E1E #3B511E
triadic
#514E1E #1E514E #4E1E51
tetradic
#514E1E #1E5135 #1E2151 #511E3B
square
#514E1E #1E5135 #1E2151 #511E3B
split-complementary
#514E1E #1E3B51 #351E51
monochromatic
#161608 #24230D #514E1E #7E792F #AAA43F

Accessibility & contrast

On white

8.54
#514E1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#514E1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514E1E
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514E1E#FFFFFF#000000##FFFFFF
##514E1E1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B19
Deuteranopia (green-blind)
#564D21
Tritanopia (blue-blind)
#574944
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #514e1e;
/* rgb */ color: rgb(81, 78, 30);
/* oklch */ color: oklch(41.6% 0.068 105.7);
Tailwind
colors: {
  custom: {
    50: '#837f5c',
    500: '#514e1e',
    950: '#000000',
  },
}
SCSS
$custom: #514e1e;
$custom-light: #837f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#514e1e",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 30
  },
  "hsl": {
    "h": 56.471,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41572,
    "c": 0.06788,
    "h": 105.7
  },
  "luminance": 0.07292
}

Semantic roles & 50–950 ramp

primary
#514E1E
secondary
#454986
accent
#5AD652
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #514E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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