#4D6C15#4D6C15

#4D6C15 is a mid, moderate yellow-green. Relative luminance 0.124; OKLCH L 49.0% C 0.117 H 127.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#4D6C15
RGBrgb(77, 108, 21)
HSLhsl(81, 67%, 25%)
HSVhsv(81, 81%, 42%)
CMYKcmyk(28.7%, 0%, 80.6%, 57.6%)
CIE-LABlab(41.78, -24.93, 41.70)
CIE-LCHlch(41.78, 48.59, 120.87°)
OKLaboklab(48.97% -0.0717 0.0923)
OKLCHoklch(48.97% 0.117 127.8)
XYZxyz(8.5585, 12.3569, 2.6435)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6C15 #34156C
analogous
#6C5F15 #4D6C15 #226C15
triadic
#4D6C15 #154D6C #6C154D
tetradic
#4D6C15 #156C5F #34156C #6C1522
square
#4D6C15 #156C5F #34156C #6C1522
split-complementary
#4D6C15 #15226C #5F156C
monochromatic
#121A05 #28390B #4D6C15 #729F1F #96D229

Accessibility & contrast

On white

6.05
#4D6C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4D6C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6C15
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6C15#FFFFFF#000000##FFFFFF
##4D6C151.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726401
Deuteranopia (green-blind)
#6E621E
Tritanopia (blue-blind)
#50675C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4d6c15;
/* rgb */ color: rgb(77, 108, 21);
/* oklch */ color: oklch(49.0% 0.117 127.8);
Tailwind
colors: {
  custom: {
    50: '#82965a',
    500: '#4d6c15',
    950: '#000000',
  },
}
SCSS
$custom: #4d6c15;
$custom-light: #82965a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6c15",
  "rgb": {
    "r": 77,
    "g": 108,
    "b": 21
  },
  "hsl": {
    "h": 81.379,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48966,
    "c": 0.11685,
    "h": 127.8
  },
  "luminance": 0.12357
}

Semantic roles & 50–950 ramp

primary
#4D6C15
secondary
#5F3AA3
accent
#3DEA7B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6C15

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

Preview Lab → · Contrast checker → · Palette generator →

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