#514915#514915

#514915 is a dark, moderate yellow. Relative luminance 0.066; OKLCH L 40.2% C 0.071 H 100.4°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#514915
RGBrgb(81, 73, 21)
HSLhsl(52, 59%, 20%)
HSVhsv(52, 74%, 32%)
CMYKcmyk(0%, 9.9%, 74.1%, 68.2%)
CIE-LABlab(30.80, -3.64, 31.05)
CIE-LCHlch(30.80, 31.26, 96.69°)
OKLaboklab(40.23% -0.0129 0.0697)
OKLCHoklch(40.23% 0.071 100.4)
XYZxyz(5.9115, 6.5688, 1.6658)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514915 #151D51
analogous
#512B15 #514915 #3B5115
triadic
#514915 #155149 #491551
tetradic
#514915 #15512B #151D51 #51153B
square
#514915 #15512B #151D51 #51153B
split-complementary
#514915 #153B51 #2B1551
monochromatic
#181606 #201D08 #514915 #827522 #B2A12E

Accessibility & contrast

On white

9.08
#514915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#514915 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514915
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514915#FFFFFF#000000##FFFFFF
##5149151.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50470E
Deuteranopia (green-blind)
#534A18
Tritanopia (blue-blind)
#58433E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #514915;
/* rgb */ color: rgb(81, 73, 21);
/* oklch */ color: oklch(40.2% 0.071 100.4);
Tailwind
colors: {
  custom: {
    50: '#847b56',
    500: '#514915',
    950: '#000000',
  },
}
SCSS
$custom: #514915;
$custom-light: #847b56;
$custom-dark: #000000;
JSON
{
  "hex": "#514915",
  "rgb": {
    "r": 81,
    "g": 73,
    "b": 21
  },
  "hsl": {
    "h": 52,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.40225,
    "c": 0.07092,
    "h": 100.4
  },
  "luminance": 0.06569
}

Semantic roles & 50–950 ramp

primary
#514915
secondary
#394489
accent
#5BE246
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514915

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

Preview Lab → · Contrast checker → · Palette generator →

#514915 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva