#514F17#514F17

#514F17 is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.7% C 0.076 H 107.3°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#514F17
RGBrgb(81, 79, 23)
HSLhsl(58, 56%, 20%)
HSVhsv(58, 72%, 32%)
CMYKcmyk(0%, 2.5%, 71.6%, 68.2%)
CIE-LABlab(32.71, -7.13, 32.06)
CIE-LCHlch(32.71, 32.84, 102.53°)
OKLaboklab(41.74% -0.0225 0.0723)
OKLCHoklch(41.74% 0.076 107.3)
XYZxyz(6.3442, 7.4034, 1.9052)
Luminance0.0740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514F17 #171951
analogous
#513217 #514F17 #365117
triadic
#514F17 #17514F #4F1751
tetradic
#514F17 #175132 #171951 #511736
square
#514F17 #175132 #171951 #511736
split-complementary
#514F17 #173651 #321751
monochromatic
#181707 #212109 #514F17 #817D25 #B0AC32

Accessibility & contrast

On white

8.47
#514F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#514F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514F17
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514F17#FFFFFF#000000##FFFFFF
##514F171.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C0F
Deuteranopia (green-blind)
#574E1B
Tritanopia (blue-blind)
#574A44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #514f17;
/* rgb */ color: rgb(81, 79, 23);
/* oklch */ color: oklch(41.7% 0.076 107.3);
Tailwind
colors: {
  custom: {
    50: '#848058',
    500: '#514f17',
    950: '#000000',
  },
}
SCSS
$custom: #514f17;
$custom-light: #848058;
$custom-dark: #000000;
JSON
{
  "hex": "#514f17",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 23
  },
  "hsl": {
    "h": 57.931,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41744,
    "c": 0.07567,
    "h": 107.3
  },
  "luminance": 0.07403
}

Semantic roles & 50–950 ramp

primary
#514F17
secondary
#3C3E88
accent
#4EDF49
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #514F17

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

Preview Lab → · Contrast checker → · Palette generator →

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