#4D6423#4D6423

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

Color values

HEX#4D6423
RGBrgb(77, 100, 35)
HSLhsl(81, 48%, 26%)
HSVhsv(81, 65%, 39%)
CMYKcmyk(23%, 0%, 65%, 60.8%)
CIE-LABlab(39.26, -19.81, 33.18)
CIE-LCHlch(39.26, 38.64, 120.84°)
OKLaboklab(46.96% -0.0563 0.0766)
OKLCHoklch(46.96% 0.095 126.3)
XYZxyz(7.9211, 10.8134, 3.2597)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6423 #3A2364
analogous
#645B23 #4D6423 #2D6423
triadic
#4D6423 #234D64 #64234D
tetradic
#4D6423 #23645B #3A2364 #64232D
square
#4D6423 #23645B #3A2364 #64232D
split-complementary
#4D6423 #232D64 #5B2364
monochromatic
#111708 #2A3713 #4D6423 #709133 #92BE44

Accessibility & contrast

On white

6.64
#4D6423 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4D6423 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6423
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6423#FFFFFF#000000##FFFFFF
##4D64231.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D1B
Deuteranopia (green-blind)
#665C28
Tritanopia (blue-blind)
#505F56
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4d6423;
/* rgb */ color: rgb(77, 100, 35);
/* oklch */ color: oklch(47.0% 0.095 126.3);
Tailwind
colors: {
  custom: {
    50: '#819061',
    500: '#4d6423',
    950: '#000000',
  },
}
SCSS
$custom: #4d6423;
$custom-light: #819061;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6423",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 35
  },
  "hsl": {
    "h": 81.231,
    "s": 48.148,
    "l": 26.471
  },
  "oklch": {
    "l": 0.46964,
    "c": 0.09507,
    "h": 126.3
  },
  "luminance": 0.10813
}

Semantic roles & 50–950 ramp

primary
#4D6423
secondary
#664B98
accent
#50D880
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0A0C05
muted
#7C7D79

Preview Lab

Preview with #4D6423

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

Preview Lab → · Contrast checker → · Palette generator →

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