#4D6C14#4D6C14

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

Color values

HEX#4D6C14
RGBrgb(77, 108, 20)
HSLhsl(81, 69%, 25%)
HSVhsv(81, 81%, 42%)
CMYKcmyk(28.7%, 0%, 81.5%, 57.6%)
CIE-LABlab(41.77, -24.99, 42.05)
CIE-LCHlch(41.77, 48.91, 120.72°)
OKLaboklab(48.96% -0.0719 0.0929)
OKLCHoklch(48.96% 0.117 127.7)
XYZxyz(8.5494, 12.3532, 2.5957)
Luminance0.1235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6C14 #33146C
analogous
#6C5F14 #4D6C14 #216C14
triadic
#4D6C14 #144D6C #6C144D
tetradic
#4D6C14 #146C5F #33146C #6C1421
square
#4D6C14 #146C5F #33146C #6C1421
split-complementary
#4D6C14 #14216C #5F146C
monochromatic
#121A05 #28380A #4D6C14 #72A01E #97D327

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D6C14#FFFFFF#000000##FFFFFF
##4D6C141.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)
#726400
Deuteranopia (green-blind)
#6E621D
Tritanopia (blue-blind)
#50675C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4d6c14;
/* rgb */ color: rgb(77, 108, 20);
/* oklch */ color: oklch(49.0% 0.117 127.7);
Tailwind
colors: {
  custom: {
    50: '#82965a',
    500: '#4d6c14',
    950: '#000000',
  },
}
SCSS
$custom: #4d6c14;
$custom-light: #82965a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6c14",
  "rgb": {
    "r": 77,
    "g": 108,
    "b": 20
  },
  "hsl": {
    "h": 81.136,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48959,
    "c": 0.11743,
    "h": 127.7
  },
  "luminance": 0.12353
}

Semantic roles & 50–950 ramp

primary
#4D6C14
secondary
#5E39A3
accent
#3CEC7A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6C14

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

Preview Lab → · Contrast checker → · Palette generator →

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