#4D510E#4D510E

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

Color values

HEX#4D510E
RGBrgb(77, 81, 14)
HSLhsl(64, 71%, 19%)
HSVhsv(64, 83%, 32%)
CMYKcmyk(4.9%, 0%, 82.7%, 68.2%)
CIE-LABlab(32.91, -10.81, 35.94)
CIE-LCHlch(32.91, 37.53, 106.74°)
OKLaboklab(41.79% -0.0335 0.0788)
OKLCHoklch(41.79% 0.086 113.1)
XYZxyz(6.0825, 7.4945, 1.5415)
Luminance0.0749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D510E #120E51
analogous
#51330E #4D510E #2B510E
triadic
#4D510E #0E4D51 #510E4D
tetradic
#4D510E #0E5133 #120E51 #510E2B
square
#4D510E #0E5133 #120E51 #510E2B
split-complementary
#4D510E #0E2B51 #330E51
monochromatic
#191A05 #1B1D05 #4D510E #7F8517 #B0B920

Accessibility & contrast

On white

8.40
#4D510E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D510E
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D510E#FFFFFF#000000##FFFFFF
##4D510E1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d510e;
/* rgb */ color: rgb(77, 81, 14);
/* oklch */ color: oklch(41.8% 0.086 113.1);
Tailwind
colors: {
  custom: {
    50: '#818153',
    500: '#4d510e',
    950: '#000000',
  },
}
SCSS
$custom: #4d510e;
$custom-light: #818153;
$custom-dark: #000000;
JSON
{
  "hex": "#4d510e",
  "rgb": {
    "r": 77,
    "g": 81,
    "b": 14
  },
  "hsl": {
    "h": 63.582,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.41791,
    "c": 0.08565,
    "h": 113.1
  },
  "luminance": 0.07494
}

Semantic roles & 50–950 ramp

primary
#4D510E
secondary
#352F8C
accent
#3AED45
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4D510E

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

Preview Lab → · Contrast checker → · Palette generator →

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