#514618#514618

#514618 is a dark, moderate yellow. Relative luminance 0.062; OKLCH L 39.5% C 0.065 H 95.8°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#514618
RGBrgb(81, 70, 24)
HSLhsl(48, 54%, 21%)
HSVhsv(48, 70%, 32%)
CMYKcmyk(0%, 13.6%, 70.4%, 68.2%)
CIE-LABlab(29.90, -1.59, 28.60)
CIE-LCHlch(29.90, 28.64, 93.17°)
OKLaboklab(39.52% -0.0066 0.0651)
OKLCHoklch(39.52% 0.065 95.8)
XYZxyz(5.7486, 6.1959, 1.7571)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514618 #182351
analogous
#512918 #514618 #3F5118
triadic
#514618 #185146 #461851
tetradic
#514618 #185129 #182351 #51183F
square
#514618 #185129 #182351 #51183F
split-complementary
#514618 #183F51 #291851
monochromatic
#181407 #221D0A #514618 #806F26 #AF9834

Accessibility & contrast

On white

9.38
#514618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#514618 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514618
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514618#FFFFFF#000000##FFFFFF
##5146181.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4413
Deuteranopia (green-blind)
#50481A
Tritanopia (blue-blind)
#58403C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #514618;
/* rgb */ color: rgb(81, 70, 24);
/* oklch */ color: oklch(39.5% 0.065 95.8);
Tailwind
colors: {
  custom: {
    50: '#847957',
    500: '#514618',
    950: '#000000',
  },
}
SCSS
$custom: #514618;
$custom-light: #847957;
$custom-dark: #000000;
JSON
{
  "hex": "#514618",
  "rgb": {
    "r": 81,
    "g": 70,
    "b": 24
  },
  "hsl": {
    "h": 48.421,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.39518,
    "c": 0.06545,
    "h": 95.8
  },
  "luminance": 0.06196
}

Semantic roles & 50–950 ramp

primary
#514618
secondary
#3D4B88
accent
#67DE4A
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514618

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

Preview Lab → · Contrast checker → · Palette generator →

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