#514F10#514F10

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

Color values

HEX#514F10
RGBrgb(81, 79, 16)
HSLhsl(58, 67%, 19%)
HSVhsv(58, 80%, 32%)
CMYKcmyk(0%, 2.5%, 80.2%, 68.2%)
CIE-LABlab(32.65, -7.55, 35.07)
CIE-LCHlch(32.65, 35.87, 102.15°)
OKLaboklab(41.68% -0.0245 0.0772)
OKLCHoklch(41.68% 0.081 107.6)
XYZxyz(6.2831, 7.3789, 1.5834)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514F10 #101251
analogous
#512F10 #514F10 #335110
triadic
#514F10 #10514F #4F1051
tetradic
#514F10 #10512F #101251 #511033
square
#514F10 #10512F #101251 #511033
split-complementary
#514F10 #103351 #2F1051
monochromatic
#1A1905 #1E1D06 #514F10 #84811A #B7B324

Accessibility & contrast

On white

8.48
#514F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514F10
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514F10#FFFFFF#000000##FFFFFF
##514F101.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C05
Deuteranopia (green-blind)
#574E15
Tritanopia (blue-blind)
#574943
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #514f10;
/* rgb */ color: rgb(81, 79, 16);
/* oklch */ color: oklch(41.7% 0.081 107.6);
Tailwind
colors: {
  custom: {
    50: '#848054',
    500: '#514f10',
    950: '#000000',
  },
}
SCSS
$custom: #514f10;
$custom-light: #848054;
$custom-dark: #000000;
JSON
{
  "hex": "#514f10",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 16
  },
  "hsl": {
    "h": 58.154,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.41684,
    "c": 0.08101,
    "h": 107.6
  },
  "luminance": 0.07379
}

Semantic roles & 50–950 ramp

primary
#514F10
secondary
#32358B
accent
#43EA3E
background
#F8F7F5
surface
#EFEEE8
border
#CAC9C4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #514F10

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

Preview Lab → · Contrast checker → · Palette generator →

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