#4D5710#4D5710

#4D5710 is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.4% C 0.092 H 117.6°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#4D5710
RGBrgb(77, 87, 16)
HSLhsl(68, 69%, 20%)
HSVhsv(68, 82%, 34%)
CMYKcmyk(11.5%, 0%, 81.6%, 65.9%)
CIE-LABlab(34.87, -14.13, 37.02)
CIE-LCHlch(34.87, 39.62, 110.89°)
OKLaboklab(43.37% -0.0425 0.0815)
OKLCHoklch(43.37% 0.092 117.6)
XYZxyz(6.5624, 8.4317, 1.7719)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5710 #1A1057
analogous
#573E10 #4D5710 #295710
triadic
#4D5710 #104D57 #57104D
tetradic
#4D5710 #10573E #1A1057 #571029
square
#4D5710 #10573E #1A1057 #571029
split-complementary
#4D5710 #102957 #3E1057
monochromatic
#171A05 #1F2306 #4D5710 #7B8B1A #A9BE23

Accessibility & contrast

On white

7.82
#4D5710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4D5710 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5710
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5710#FFFFFF#000000##FFFFFF
##4D57101.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5202
Deuteranopia (green-blind)
#5C5216
Tritanopia (blue-blind)
#52524A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4d5710;
/* rgb */ color: rgb(77, 87, 16);
/* oklch */ color: oklch(43.4% 0.092 117.6);
Tailwind
colors: {
  custom: {
    50: '#818655',
    500: '#4d5710',
    950: '#000000',
  },
}
SCSS
$custom: #4d5710;
$custom-light: #818655;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5710",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 16
  },
  "hsl": {
    "h": 68.451,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.43367,
    "c": 0.09193,
    "h": 117.6
  },
  "luminance": 0.08432
}

Semantic roles & 50–950 ramp

primary
#4D5710
secondary
#403290
accent
#3CEC55
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4D5710

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

Preview Lab → · Contrast checker → · Palette generator →

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