#4D6415#4D6415

#4D6415 is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 46.8% C 0.106 H 124.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#4D6415
RGBrgb(77, 100, 21)
HSLhsl(77, 65%, 24%)
HSVhsv(77, 79%, 39%)
CMYKcmyk(23%, 0%, 79%, 60.8%)
CIE-LABlab(39.15, -20.87, 39.20)
CIE-LCHlch(39.15, 44.41, 118.03°)
OKLaboklab(46.83% -0.0606 0.0871)
OKLCHoklch(46.83% 0.106 124.8)
XYZxyz(7.7532, 10.7462, 2.3751)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6415 #2C1564
analogous
#645315 #4D6415 #256415
triadic
#4D6415 #154D64 #64154D
tetradic
#4D6415 #156453 #2C1564 #641525
square
#4D6415 #156453 #2C1564 #641525
split-complementary
#4D6415 #152564 #531564
monochromatic
#131905 #26310A #4D6415 #749720 #9BC92A

Accessibility & contrast

On white

6.67
#4D6415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4D6415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6415
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6415#FFFFFF#000000##FFFFFF
##4D64151.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D05
Deuteranopia (green-blind)
#675C1C
Tritanopia (blue-blind)
#515F55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4d6415;
/* rgb */ color: rgb(77, 100, 21);
/* oklch */ color: oklch(46.8% 0.106 124.8);
Tailwind
colors: {
  custom: {
    50: '#829059',
    500: '#4d6415',
    950: '#000000',
  },
}
SCSS
$custom: #4d6415;
$custom-light: #829059;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6415",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 21
  },
  "hsl": {
    "h": 77.468,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46834,
    "c": 0.10605,
    "h": 124.8
  },
  "luminance": 0.10746
}

Semantic roles & 50–950 ramp

primary
#4D6415
secondary
#563A9B
accent
#40E871
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4D6415

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

Preview Lab → · Contrast checker → · Palette generator →

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