#4D6A12#4D6A12

#4D6A12 is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.4% C 0.116 H 126.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#4D6A12
RGBrgb(77, 106, 18)
HSLhsl(80, 71%, 24%)
HSVhsv(80, 83%, 42%)
CMYKcmyk(27.4%, 0%, 83%, 58.4%)
CIE-LABlab(41.10, -24.10, 42.10)
CIE-LCHlch(41.10, 48.51, 119.79°)
OKLaboklab(48.41% -0.0696 0.0926)
OKLCHoklch(48.41% 0.116 126.9)
XYZxyz(8.3238, 11.9294, 2.4362)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6A12 #2F126A
analogous
#6A5B12 #4D6A12 #216A12
triadic
#4D6A12 #124D6A #6A124D
tetradic
#4D6A12 #126A5B #2F126A #6A1221
square
#4D6A12 #126A5B #2F126A #6A1221
split-complementary
#4D6A12 #12216A #5B126A
monochromatic
#131A04 #273609 #4D6A12 #739E1B #99D324

Accessibility & contrast

On white

6.20
#4D6A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4D6A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6A12
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6A12#FFFFFF#000000##FFFFFF
##4D6A121.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#6C601B
Tritanopia (blue-blind)
#50655A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d6a12;
/* rgb */ color: rgb(77, 106, 18);
/* oklch */ color: oklch(48.4% 0.116 126.9);
Tailwind
colors: {
  custom: {
    50: '#829459',
    500: '#4d6a12',
    950: '#000000',
  },
}
SCSS
$custom: #4d6a12;
$custom-light: #829459;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6a12",
  "rgb": {
    "r": 77,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 79.773,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.48413,
    "c": 0.11585,
    "h": 126.9
  },
  "luminance": 0.1193
}

Semantic roles & 50–950 ramp

primary
#4D6A12
secondary
#5A36A2
accent
#3AEE75
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6A12

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

Preview Lab → · Contrast checker → · Palette generator →

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