#514A19#514A19

#514A19 is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.5% C 0.068 H 101.2°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#514A19
RGBrgb(81, 74, 25)
HSLhsl(53, 53%, 21%)
HSVhsv(53, 69%, 32%)
CMYKcmyk(0%, 8.6%, 69.1%, 68.2%)
CIE-LABlab(31.15, -3.97, 29.43)
CIE-LCHlch(31.15, 29.70, 97.68°)
OKLaboklab(40.52% -0.0133 0.0671)
OKLCHoklch(40.52% 0.068 101.2)
XYZxyz(6.0178, 6.7173, 1.8991)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514A19 #192051
analogous
#512E19 #514A19 #3C5119
triadic
#514A19 #19514A #4A1951
tetradic
#514A19 #19512E #192051 #51193C
square
#514A19 #19512E #192051 #51193C
split-complementary
#514A19 #193C51 #2E1951
monochromatic
#171507 #221F0B #514A19 #807527 #AF9F36

Accessibility & contrast

On white

8.96
#514A19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#514A19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514A19
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514A19#FFFFFF#000000##FFFFFF
##514A191.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514813
Deuteranopia (green-blind)
#534B1C
Tritanopia (blue-blind)
#574540
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #514a19;
/* rgb */ color: rgb(81, 74, 25);
/* oklch */ color: oklch(40.5% 0.068 101.2);
Tailwind
colors: {
  custom: {
    50: '#847c58',
    500: '#514a19',
    950: '#000000',
  },
}
SCSS
$custom: #514a19;
$custom-light: #847c58;
$custom-dark: #000000;
JSON
{
  "hex": "#514a19",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 25
  },
  "hsl": {
    "h": 52.5,
    "s": 52.83,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40515,
    "c": 0.06837,
    "h": 101.2
  },
  "luminance": 0.06717
}

Semantic roles & 50–950 ramp

primary
#514A19
secondary
#3E4787
accent
#5EDC4C
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514A19

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

Preview Lab → · Contrast checker → · Palette generator →

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