#514E10#514E10

#514E10 is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.4% C 0.080 H 106.6°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#514E10
RGBrgb(81, 78, 16)
HSLhsl(57, 67%, 19%)
HSVhsv(57, 80%, 32%)
CMYKcmyk(0%, 3.7%, 80.2%, 68.2%)
CIE-LABlab(32.34, -6.95, 34.77)
CIE-LCHlch(32.34, 35.46, 101.31°)
OKLaboklab(41.43% -0.0228 0.0766)
OKLCHoklch(41.43% 0.08 106.6)
XYZxyz(6.2115, 7.2357, 1.5596)
Luminance0.0724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514E10 #101351
analogous
#512E10 #514E10 #345110
triadic
#514E10 #10514E #4E1051
tetradic
#514E10 #10512E #101351 #511034
square
#514E10 #10512E #101351 #511034
split-complementary
#514E10 #103451 #2E1051
monochromatic
#1A1905 #1E1D06 #514E10 #847F1A #B7B024

Accessibility & contrast

On white

8.58
#514E10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514E10
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514E10#FFFFFF#000000##FFFFFF
##514E101.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B05
Deuteranopia (green-blind)
#574D15
Tritanopia (blue-blind)
#584842
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #514e10;
/* rgb */ color: rgb(81, 78, 16);
/* oklch */ color: oklch(41.4% 0.080 106.6);
Tailwind
colors: {
  custom: {
    50: '#847f54',
    500: '#514e10',
    950: '#000000',
  },
}
SCSS
$custom: #514e10;
$custom-light: #847f54;
$custom-dark: #000000;
JSON
{
  "hex": "#514e10",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 16
  },
  "hsl": {
    "h": 57.231,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.41432,
    "c": 0.07991,
    "h": 106.6
  },
  "luminance": 0.07236
}

Semantic roles & 50–950 ramp

primary
#514E10
secondary
#32368B
accent
#46EA3E
background
#F8F7F4
surface
#EFEEE8
border
#CAC9C4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #514E10

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

Preview Lab → · Contrast checker → · Palette generator →

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