#4D5810#4D5810

#4D5810 is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 43.6% C 0.093 H 118.2°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#4D5810
RGBrgb(77, 88, 16)
HSLhsl(69, 69%, 20%)
HSVhsv(69, 82%, 35%)
CMYKcmyk(12.5%, 0%, 81.8%, 65.5%)
CIE-LABlab(35.19, -14.69, 37.32)
CIE-LCHlch(35.19, 40.11, 111.48°)
OKLaboklab(43.63% -0.0441 0.0821)
OKLCHoklch(43.63% 0.093 118.2)
XYZxyz(6.6440, 8.5947, 1.7990)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5810 #1B1058
analogous
#583F10 #4D5810 #295810
triadic
#4D5810 #104D58 #58104D
tetradic
#4D5810 #10583F #1B1058 #581029
square
#4D5810 #10583F #1B1058 #581029
split-complementary
#4D5810 #102958 #3F1058
monochromatic
#171A05 #202407 #4D5810 #7A8C19 #A8C023

Accessibility & contrast

On white

7.72
#4D5810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4D5810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5810
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5810#FFFFFF#000000##FFFFFF
##4D58101.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5302
Deuteranopia (green-blind)
#5D5317
Tritanopia (blue-blind)
#52534A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d5810;
/* rgb */ color: rgb(77, 88, 16);
/* oklch */ color: oklch(43.6% 0.093 118.2);
Tailwind
colors: {
  custom: {
    50: '#818755',
    500: '#4d5810',
    950: '#000000',
  },
}
SCSS
$custom: #4d5810;
$custom-light: #818755;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5810",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 16
  },
  "hsl": {
    "h": 69.167,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.43629,
    "c": 0.09322,
    "h": 118.2
  },
  "luminance": 0.08595
}

Semantic roles & 50–950 ramp

primary
#4D5810
secondary
#413291
accent
#3CEC57
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4D5810

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

Preview Lab → · Contrast checker → · Palette generator →

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