#514918#514918

#514918 is a dark, moderate yellow. Relative luminance 0.066; OKLCH L 40.3% C 0.068 H 100.0°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#514918
RGBrgb(81, 73, 24)
HSLhsl(52, 54%, 21%)
HSVhsv(52, 70%, 32%)
CMYKcmyk(0%, 9.9%, 70.4%, 68.2%)
CIE-LABlab(30.83, -3.43, 29.60)
CIE-LCHlch(30.83, 29.80, 96.61°)
OKLaboklab(40.26% -0.0119 0.0672)
OKLCHoklch(40.26% 0.068 100)
XYZxyz(5.9410, 6.5806, 1.8212)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514918 #182051
analogous
#512C18 #514918 #3C5118
triadic
#514918 #185149 #491851
tetradic
#514918 #18512C #182051 #51183C
square
#514918 #18512C #182051 #51183C
split-complementary
#514918 #183C51 #2C1851
monochromatic
#181507 #221E0A #514918 #807426 #AF9E34

Accessibility & contrast

On white

9.07
#514918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#514918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514918
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514918#FFFFFF#000000##FFFFFF
##5149181.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504712
Deuteranopia (green-blind)
#534A1B
Tritanopia (blue-blind)
#58433F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #514918;
/* rgb */ color: rgb(81, 73, 24);
/* oklch */ color: oklch(40.3% 0.068 100.0);
Tailwind
colors: {
  custom: {
    50: '#847b57',
    500: '#514918',
    950: '#000000',
  },
}
SCSS
$custom: #514918;
$custom-light: #847b57;
$custom-dark: #000000;
JSON
{
  "hex": "#514918",
  "rgb": {
    "r": 81,
    "g": 73,
    "b": 24
  },
  "hsl": {
    "h": 51.579,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40256,
    "c": 0.06828,
    "h": 100
  },
  "luminance": 0.0658
}

Semantic roles & 50–950 ramp

primary
#514918
secondary
#3D4888
accent
#5FDE4A
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514918

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

Preview Lab → · Contrast checker → · Palette generator →

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