#4D6428#4D6428

#4D6428 is a mid, moderate yellow-green. Relative luminance 0.108; OKLCH L 47.0% C 0.090 H 127.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#4D6428
RGBrgb(77, 100, 40)
HSLhsl(83, 43%, 27%)
HSVhsv(83, 60%, 39%)
CMYKcmyk(23%, 0%, 60%, 60.8%)
CIE-LABlab(39.32, -19.31, 30.72)
CIE-LCHlch(39.32, 36.29, 122.16°)
OKLaboklab(47.03% -0.0544 0.072)
OKLCHoklch(47.03% 0.09 127.1)
XYZxyz(8.0007, 10.8452, 3.6789)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6428 #3F2864
analogous
#645D28 #4D6428 #2F6428
triadic
#4D6428 #284D64 #64284D
tetradic
#4D6428 #28645D #3F2864 #64282F
square
#4D6428 #28645D #3F2864 #64282F
split-complementary
#4D6428 #282F64 #5D2864
monochromatic
#111609 #2B3817 #4D6428 #6F9039 #90B84E

Accessibility & contrast

On white

6.63
#4D6428 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4D6428 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6428
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6428#FFFFFF#000000##FFFFFF
##4D64281.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E22
Deuteranopia (green-blind)
#665C2C
Tritanopia (blue-blind)
#506057
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4d6428;
/* rgb */ color: rgb(77, 100, 40);
/* oklch */ color: oklch(47.0% 0.090 127.1);
Tailwind
colors: {
  custom: {
    50: '#809064',
    500: '#4d6428',
    950: '#000000',
  },
}
SCSS
$custom: #4d6428;
$custom-light: #809064;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6428",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 40
  },
  "hsl": {
    "h": 83,
    "s": 42.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.47025,
    "c": 0.09022,
    "h": 127.1
  },
  "luminance": 0.10845
}

Semantic roles & 50–950 ramp

primary
#4D6428
secondary
#6C5197
accent
#55D385
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0A0C05
muted
#7C7D7A

Preview Lab

Preview with #4D6428

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

Preview Lab → · Contrast checker → · Palette generator →

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