#4D6512#4D6512

#4D6512 is a mid, moderate yellow-green. Relative luminance 0.109; OKLCH L 47.1% C 0.109 H 125.0°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#4D6512
RGBrgb(77, 101, 18)
HSLhsl(77, 70%, 23%)
HSVhsv(77, 82%, 40%)
CMYKcmyk(23.8%, 0%, 82.2%, 60.4%)
CIE-LABlab(39.46, -21.55, 40.58)
CIE-LCHlch(39.46, 45.95, 117.97°)
OKLaboklab(47.08% -0.0627 0.0894)
OKLCHoklch(47.08% 0.109 125)
XYZxyz(7.8235, 10.9287, 2.2694)
Luminance0.1093 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6512 #2A1265
analogous
#655312 #4D6512 #246512
triadic
#4D6512 #124D65 #65124D
tetradic
#4D6512 #126553 #2A1265 #651224
square
#4D6512 #126553 #2A1265 #651224
split-complementary
#4D6512 #122465 #531265
monochromatic
#141A05 #253109 #4D6512 #75991B #9CCD25

Accessibility & contrast

On white

6.59
#4D6512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4D6512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6512
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6512#FFFFFF#000000##FFFFFF
##4D65121.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#685D1A
Tritanopia (blue-blind)
#516056
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4d6512;
/* rgb */ color: rgb(77, 101, 18);
/* oklch */ color: oklch(47.1% 0.109 125.0);
Tailwind
colors: {
  custom: {
    50: '#829158',
    500: '#4d6512',
    950: '#000000',
  },
}
SCSS
$custom: #4d6512;
$custom-light: #829158;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6512",
  "rgb": {
    "r": 77,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 77.349,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.4708,
    "c": 0.1092,
    "h": 125
  },
  "luminance": 0.10929
}

Semantic roles & 50–950 ramp

primary
#4D6512
secondary
#54369D
accent
#3BED6F
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4D6512

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

Preview Lab → · Contrast checker → · Palette generator →

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