#514C23#514C23

#514C23 is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 41.1% C 0.060 H 102.4°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#514C23
RGBrgb(81, 76, 35)
HSLhsl(53, 40%, 23%)
HSVhsv(53, 57%, 32%)
CMYKcmyk(0%, 6.2%, 56.8%, 68.2%)
CIE-LABlab(31.90, -4.30, 24.86)
CIE-LCHlch(31.90, 25.23, 99.82°)
OKLaboklab(41.14% -0.0129 0.0587)
OKLCHoklch(41.14% 0.06 102.4)
XYZxyz(6.2813, 7.0398, 2.6177)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514C23 #232851
analogous
#513523 #514C23 #3F5123
triadic
#514C23 #23514C #4C2351
tetradic
#514C23 #235135 #232851 #51233F
square
#514C23 #235135 #232851 #51233F
split-complementary
#514C23 #233F51 #352351
monochromatic
#151409 #262411 #514C23 #7C7435 #A69C48

Accessibility & contrast

On white

8.72
#514C23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#514C23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514C23
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514C23#FFFFFF#000000##FFFFFF
##514C231.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A1F
Deuteranopia (green-blind)
#544C25
Tritanopia (blue-blind)
#574743
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #514c23;
/* rgb */ color: rgb(81, 76, 35);
/* oklch */ color: oklch(41.1% 0.060 102.4);
Tailwind
colors: {
  custom: {
    50: '#837d5f',
    500: '#514c23',
    950: '#000000',
  },
}
SCSS
$custom: #514c23;
$custom-light: #837d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#514c23",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 35
  },
  "hsl": {
    "h": 53.478,
    "s": 39.655,
    "l": 22.745
  },
  "oklch": {
    "l": 0.41142,
    "c": 0.06005,
    "h": 102.4
  },
  "luminance": 0.0704
}

Semantic roles & 50–950 ramp

primary
#514C23
secondary
#4B5185
accent
#65D058
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0904
muted
#7C7B79

Preview Lab

Preview with #514C23

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

Preview Lab → · Contrast checker → · Palette generator →

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