#514F28#514F28

#514F28 is a dark, muted yellow. Relative luminance 0.075; OKLCH L 42.0% C 0.058 H 106.0°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#514F28
RGBrgb(81, 79, 40)
HSLhsl(57, 34%, 24%)
HSVhsv(57, 51%, 32%)
CMYKcmyk(0%, 2.5%, 50.6%, 68.2%)
CIE-LABlab(32.91, -5.58, 23.20)
CIE-LCHlch(32.91, 23.87, 103.53°)
OKLaboklab(41.97% -0.0159 0.0555)
OKLCHoklch(41.97% 0.058 106)
XYZxyz(6.5725, 7.4947, 3.1075)
Luminance0.0749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514F28 #282A51
analogous
#513A28 #514F28 #3E5128
triadic
#514F28 #28514F #4F2851
tetradic
#514F28 #28513A #282A51 #51283E
square
#514F28 #28513A #282A51 #51283E
split-complementary
#514F28 #283E51 #3A2851
monochromatic
#14140A #282714 #514F28 #7A773C #A39F50

Accessibility & contrast

On white

8.40
#514F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#514F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514F28
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514F28#FFFFFF#000000##FFFFFF
##514F281.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C25
Deuteranopia (green-blind)
#564E2A
Tritanopia (blue-blind)
#564B46
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #514f28;
/* rgb */ color: rgb(81, 79, 40);
/* oklch */ color: oklch(42.0% 0.058 106.0);
Tailwind
colors: {
  custom: {
    50: '#838063',
    500: '#514f28',
    950: '#000000',
  },
}
SCSS
$custom: #514f28;
$custom-light: #838063;
$custom-dark: #000000;
JSON
{
  "hex": "#514f28",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 40
  },
  "hsl": {
    "h": 57.073,
    "s": 33.884,
    "l": 23.725
  },
  "oklch": {
    "l": 0.41967,
    "c": 0.05776,
    "h": 106
  },
  "luminance": 0.07494
}

Semantic roles & 50–950 ramp

primary
#514F28
secondary
#515484
accent
#63CA5E
background
#F8F7F5
surface
#EFEEEA
border
#CAC9C6
text
#0B0A05
muted
#7C7C79

Preview Lab

Preview with #514F28

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

Preview Lab → · Contrast checker → · Palette generator →

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