#514E13#514E13

#514E13 is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.5% C 0.078 H 106.4°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#514E13
RGBrgb(81, 78, 19)
HSLhsl(57, 62%, 20%)
HSVhsv(57, 77%, 32%)
CMYKcmyk(0%, 3.7%, 76.5%, 68.2%)
CIE-LABlab(32.36, -6.79, 33.53)
CIE-LCHlch(32.36, 34.21, 101.44°)
OKLaboklab(41.46% -0.022 0.0746)
OKLCHoklch(41.46% 0.078 106.4)
XYZxyz(6.2355, 7.2453, 1.6860)
Luminance0.0725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514E13 #131651
analogous
#512F13 #514E13 #355113
triadic
#514E13 #13514E #4E1351
tetradic
#514E13 #13512F #131651 #511335
square
#514E13 #13512F #131651 #511335
split-complementary
#514E13 #133551 #2F1351
monochromatic
#191806 #1F1E07 #514E13 #837E1F #B4AD2A

Accessibility & contrast

On white

8.57
#514E13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#514E13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514E13
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514E13#FFFFFF#000000##FFFFFF
##514E131.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B09
Deuteranopia (green-blind)
#574D17
Tritanopia (blue-blind)
#574842
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #514e13;
/* rgb */ color: rgb(81, 78, 19);
/* oklch */ color: oklch(41.5% 0.078 106.4);
Tailwind
colors: {
  custom: {
    50: '#847f55',
    500: '#514e13',
    950: '#000000',
  },
}
SCSS
$custom: #514e13;
$custom-light: #847f55;
$custom-dark: #000000;
JSON
{
  "hex": "#514e13",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 19
  },
  "hsl": {
    "h": 57.097,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.41456,
    "c": 0.07776,
    "h": 106.4
  },
  "luminance": 0.07245
}

Semantic roles & 50–950 ramp

primary
#514E13
secondary
#363A8A
accent
#4BE543
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #514E13

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

Preview Lab → · Contrast checker → · Palette generator →

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