#4D510C#4D510C

#4D510C is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.8% C 0.087 H 113.0°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#4D510C
RGBrgb(77, 81, 12)
HSLhsl(63, 74%, 18%)
HSVhsv(63, 85%, 32%)
CMYKcmyk(4.9%, 0%, 85.2%, 68.2%)
CIE-LABlab(32.90, -10.90, 36.64)
CIE-LCHlch(32.90, 38.23, 106.57°)
OKLaboklab(41.78% -0.034 0.0799)
OKLCHoklch(41.78% 0.087 113)
XYZxyz(6.0696, 7.4893, 1.4736)
Luminance0.0749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D510C #100C51
analogous
#51320C #4D510C #2A510C
triadic
#4D510C #0C4D51 #510C4D
tetradic
#4D510C #0C5132 #100C51 #510C2A
square
#4D510C #0C5132 #100C51 #510C2A
split-complementary
#4D510C #0C2A51 #320C51
monochromatic
#191B04 #1A1C04 #4D510C #808614 #B2BC1C

Accessibility & contrast

On white

8.41
#4D510C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4D510C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D510C
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D510C#FFFFFF#000000##FFFFFF
##4D510C1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D00
Deuteranopia (green-blind)
#584E12
Tritanopia (blue-blind)
#534C44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d510c;
/* rgb */ color: rgb(77, 81, 12);
/* oklch */ color: oklch(41.8% 0.087 113.0);
Tailwind
colors: {
  custom: {
    50: '#818152',
    500: '#4d510c',
    950: '#000000',
  },
}
SCSS
$custom: #4d510c;
$custom-light: #818152;
$custom-dark: #000000;
JSON
{
  "hex": "#4d510c",
  "rgb": {
    "r": 77,
    "g": 81,
    "b": 12
  },
  "hsl": {
    "h": 63.478,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.41778,
    "c": 0.08682,
    "h": 113
  },
  "luminance": 0.07489
}

Semantic roles & 50–950 ramp

primary
#4D510C
secondary
#322C8C
accent
#37F142
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A02
muted
#7C7C78

Preview Lab

Preview with #4D510C

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

Preview Lab → · Contrast checker → · Palette generator →

#4D510C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva