#514A0C#514A0C

#514A0C is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.4% C 0.078 H 102.5°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#514A0C
RGBrgb(81, 74, 12)
HSLhsl(54, 74%, 18%)
HSVhsv(54, 85%, 32%)
CMYKcmyk(0%, 8.6%, 85.2%, 68.2%)
CIE-LABlab(31.05, -4.74, 35.13)
CIE-LCHlch(31.05, 35.44, 97.68°)
OKLaboklab(40.4% -0.017 0.0765)
OKLCHoklch(40.4% 0.078 102.5)
XYZxyz(5.9088, 6.6737, 1.3247)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514A0C #0C1351
analogous
#51270C #514A0C #35510C
triadic
#514A0C #0C514A #4A0C51
tetradic
#514A0C #0C5127 #0C1351 #510C35
square
#514A0C #0C5127 #0C1351 #510C35
split-complementary
#514A0C #0C3551 #270C51
monochromatic
#1B1804 #1C1904 #514A0C #867B14 #BCAB1C

Accessibility & contrast

On white

9.00
#514A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#514A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514A0C
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514A0C#FFFFFF#000000##FFFFFF
##514A0C1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524701
Deuteranopia (green-blind)
#544A11
Tritanopia (blue-blind)
#58443E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #514a0c;
/* rgb */ color: rgb(81, 74, 12);
/* oklch */ color: oklch(40.4% 0.078 102.5);
Tailwind
colors: {
  custom: {
    50: '#857c51',
    500: '#514a0c',
    950: '#000000',
  },
}
SCSS
$custom: #514a0c;
$custom-light: #857c51;
$custom-dark: #000000;
JSON
{
  "hex": "#514a0c",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 12
  },
  "hsl": {
    "h": 53.913,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.40401,
    "c": 0.07833,
    "h": 102.5
  },
  "luminance": 0.06673
}

Semantic roles & 50–950 ramp

primary
#514A0C
secondary
#2C368C
accent
#4AF137
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #514A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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