#4D6714#4D6714

#4D6714 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.6% C 0.111 H 126.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#4D6714
RGBrgb(77, 103, 20)
HSLhsl(79, 67%, 24%)
HSVhsv(79, 81%, 40%)
CMYKcmyk(25.2%, 0%, 80.6%, 59.6%)
CIE-LABlab(40.13, -22.47, 40.50)
CIE-LCHlch(40.13, 46.32, 119.02°)
OKLaboklab(47.63% -0.065 0.0896)
OKLCHoklch(47.63% 0.111 126)
XYZxyz(8.0371, 11.3287, 2.4249)
Luminance0.1133 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6714 #2E1467
analogous
#675814 #4D6714 #246714
triadic
#4D6714 #144D67 #67144D
tetradic
#4D6714 #146758 #2E1467 #671424
square
#4D6714 #146758 #2E1467 #671424
split-complementary
#4D6714 #142467 #581467
monochromatic
#131A05 #27340A #4D6714 #739A1E #9ACD28

Accessibility & contrast

On white

6.43
#4D6714 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4D6714 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6714
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6714#FFFFFF#000000##FFFFFF
##4D67141.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6002
Deuteranopia (green-blind)
#695E1C
Tritanopia (blue-blind)
#516257
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d6714;
/* rgb */ color: rgb(77, 103, 20);
/* oklch */ color: oklch(47.6% 0.111 126.0);
Tailwind
colors: {
  custom: {
    50: '#829259',
    500: '#4d6714',
    950: '#000000',
  },
}
SCSS
$custom: #4d6714;
$custom-light: #829259;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6714",
  "rgb": {
    "r": 77,
    "g": 103,
    "b": 20
  },
  "hsl": {
    "h": 78.795,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.47625,
    "c": 0.11072,
    "h": 126
  },
  "luminance": 0.11329
}

Semantic roles & 50–950 ramp

primary
#4D6714
secondary
#58399E
accent
#3DEA74
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6714

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

Preview Lab → · Contrast checker → · Palette generator →

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