#4D6914#4D6914

#4D6914 is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.2% C 0.113 H 126.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4D6914
RGBrgb(77, 105, 20)
HSLhsl(80, 68%, 25%)
HSVhsv(80, 81%, 41%)
CMYKcmyk(26.7%, 0%, 81%, 58.8%)
CIE-LABlab(40.79, -23.49, 41.12)
CIE-LCHlch(40.79, 47.36, 119.73°)
OKLaboklab(48.16% -0.0678 0.0909)
OKLCHoklch(48.16% 0.113 126.7)
XYZxyz(8.2384, 11.7313, 2.4920)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6914 #301469
analogous
#695B14 #4D6914 #226914
triadic
#4D6914 #144D69 #69144D
tetradic
#4D6914 #14695B #301469 #691422
square
#4D6914 #14695B #301469 #691422
split-complementary
#4D6914 #142269 #5B1469
monochromatic
#131A05 #27360A #4D6914 #739C1E #98D028

Accessibility & contrast

On white

6.28
#4D6914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4D6914 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6914
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6914#FFFFFF#000000##FFFFFF
##4D69141.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6101
Deuteranopia (green-blind)
#6B601D
Tritanopia (blue-blind)
#506459
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d6914;
/* rgb */ color: rgb(77, 105, 20);
/* oklch */ color: oklch(48.2% 0.113 126.7);
Tailwind
colors: {
  custom: {
    50: '#829459',
    500: '#4d6914',
    950: '#000000',
  },
}
SCSS
$custom: #4d6914;
$custom-light: #829459;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6914",
  "rgb": {
    "r": 77,
    "g": 105,
    "b": 20
  },
  "hsl": {
    "h": 79.765,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.48158,
    "c": 0.11341,
    "h": 126.7
  },
  "luminance": 0.11731
}

Semantic roles & 50–950 ramp

primary
#4D6914
secondary
#5B39A0
accent
#3DEB76
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6914

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

Preview Lab → · Contrast checker → · Palette generator →

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