#4D6814#4D6814

#4D6814 is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 47.9% C 0.112 H 126.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#4D6814
RGBrgb(77, 104, 20)
HSLhsl(79, 68%, 24%)
HSVhsv(79, 81%, 41%)
CMYKcmyk(26%, 0%, 80.8%, 59.2%)
CIE-LABlab(40.46, -22.98, 40.81)
CIE-LCHlch(40.46, 46.84, 119.38°)
OKLaboklab(47.89% -0.0664 0.0903)
OKLCHoklch(47.89% 0.112 126.4)
XYZxyz(8.1372, 11.5288, 2.4583)
Luminance0.1153 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6814 #2F1468
analogous
#685914 #4D6814 #236814
triadic
#4D6814 #144D68 #68144D
tetradic
#4D6814 #146859 #2F1468 #681423
square
#4D6814 #146859 #2F1468 #681423
split-complementary
#4D6814 #142368 #591468
monochromatic
#131A05 #27350A #4D6814 #739B1E #99CF28

Accessibility & contrast

On white

6.35
#4D6814 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4D6814 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6814
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6814#FFFFFF#000000##FFFFFF
##4D68141.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6001
Deuteranopia (green-blind)
#6A5F1C
Tritanopia (blue-blind)
#516358
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d6814;
/* rgb */ color: rgb(77, 104, 20);
/* oklch */ color: oklch(47.9% 0.112 126.4);
Tailwind
colors: {
  custom: {
    50: '#829359',
    500: '#4d6814',
    950: '#000000',
  },
}
SCSS
$custom: #4d6814;
$custom-light: #829359;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6814",
  "rgb": {
    "r": 77,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 79.286,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47892,
    "c": 0.11206,
    "h": 126.4
  },
  "luminance": 0.11529
}

Semantic roles & 50–950 ramp

primary
#4D6814
secondary
#5A399F
accent
#3DEB75
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6814

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

Preview Lab → · Contrast checker → · Palette generator →

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