#4D510F#4D510F

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

Color values

HEX#4D510F
RGBrgb(77, 81, 15)
HSLhsl(64, 69%, 19%)
HSVhsv(64, 81%, 32%)
CMYKcmyk(4.9%, 0%, 81.5%, 68.2%)
CIE-LABlab(32.91, -10.76, 35.57)
CIE-LCHlch(32.91, 37.16, 106.84°)
OKLaboklab(41.8% -0.0333 0.0782)
OKLCHoklch(41.8% 0.085 113.1)
XYZxyz(6.0894, 7.4973, 1.5782)
Luminance0.0750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D510F #130F51
analogous
#51340F #4D510F #2C510F
triadic
#4D510F #0F4D51 #510F4D
tetradic
#4D510F #0F5134 #130F51 #510F2C
square
#4D510F #0F5134 #130F51 #510F2C
split-complementary
#4D510F #0F2C51 #340F51
monochromatic
#191A05 #1C1D05 #4D510F #7E8519 #AFB822

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D510F#FFFFFF#000000##FFFFFF
##4D510F1.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)
#584D03
Deuteranopia (green-blind)
#584E15
Tritanopia (blue-blind)
#534C45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d510f;
/* rgb */ color: rgb(77, 81, 15);
/* oklch */ color: oklch(41.8% 0.085 113.1);
Tailwind
colors: {
  custom: {
    50: '#818153',
    500: '#4d510f',
    950: '#000000',
  },
}
SCSS
$custom: #4d510f;
$custom-light: #818153;
$custom-dark: #000000;
JSON
{
  "hex": "#4d510f",
  "rgb": {
    "r": 77,
    "g": 81,
    "b": 15
  },
  "hsl": {
    "h": 63.636,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.41798,
    "c": 0.08502,
    "h": 113.1
  },
  "luminance": 0.07497
}

Semantic roles & 50–950 ramp

primary
#4D510F
secondary
#36318B
accent
#3CEC47
background
#F8F7F4
surface
#EFEEE8
border
#CAC9C4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4D510F

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

Preview Lab → · Contrast checker → · Palette generator →

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