#514E18#514E18

#514E18 is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.5% C 0.074 H 106.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#514E18
RGBrgb(81, 78, 24)
HSLhsl(57, 54%, 21%)
HSVhsv(57, 70%, 32%)
CMYKcmyk(0%, 3.7%, 70.4%, 68.2%)
CIE-LABlab(32.40, -6.46, 31.26)
CIE-LCHlch(32.40, 31.92, 101.68°)
OKLaboklab(41.5% -0.0205 0.0707)
OKLCHoklch(41.5% 0.074 106.1)
XYZxyz(6.2828, 7.2643, 1.9352)
Luminance0.0726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514E18 #181B51
analogous
#513118 #514E18 #375118
triadic
#514E18 #18514E #4E1851
tetradic
#514E18 #185131 #181B51 #511837
square
#514E18 #185131 #181B51 #511837
split-complementary
#514E18 #183751 #311851
monochromatic
#181707 #22210A #514E18 #807B26 #AFA934

Accessibility & contrast

On white

8.56
#514E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514E18
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514E18#FFFFFF#000000##FFFFFF
##514E181.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B11
Deuteranopia (green-blind)
#564D1B
Tritanopia (blue-blind)
#574943
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #514e18;
/* rgb */ color: rgb(81, 78, 24);
/* oklch */ color: oklch(41.5% 0.074 106.1);
Tailwind
colors: {
  custom: {
    50: '#847f58',
    500: '#514e18',
    950: '#000000',
  },
}
SCSS
$custom: #514e18;
$custom-light: #847f58;
$custom-dark: #000000;
JSON
{
  "hex": "#514e18",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 24
  },
  "hsl": {
    "h": 56.842,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41503,
    "c": 0.07365,
    "h": 106.1
  },
  "luminance": 0.07264
}

Semantic roles & 50–950 ramp

primary
#514E18
secondary
#3D4188
accent
#52DE4A
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #514E18

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

Preview Lab → · Contrast checker → · Palette generator →

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