#4D6412#4D6412

#4D6412 is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 46.8% C 0.108 H 124.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#4D6412
RGBrgb(77, 100, 18)
HSLhsl(77, 69%, 23%)
HSVhsv(77, 82%, 39%)
CMYKcmyk(23%, 0%, 82%, 60.8%)
CIE-LABlab(39.13, -21.04, 40.28)
CIE-LCHlch(39.13, 45.44, 117.58°)
OKLaboklab(46.81% -0.0613 0.0888)
OKLCHoklch(46.81% 0.108 124.6)
XYZxyz(7.7270, 10.7357, 2.2373)
Luminance0.1074 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6412 #291264
analogous
#645212 #4D6412 #246412
triadic
#4D6412 #124D64 #64124D
tetradic
#4D6412 #126452 #291264 #641224
square
#4D6412 #126452 #291264 #641224
split-complementary
#4D6412 #122464 #521264
monochromatic
#141A05 #253009 #4D6412 #75981B #9DCC25

Accessibility & contrast

On white

6.67
#4D6412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4D6412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6412
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6412#FFFFFF#000000##FFFFFF
##4D64121.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#675C1A
Tritanopia (blue-blind)
#515F55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4d6412;
/* rgb */ color: rgb(77, 100, 18);
/* oklch */ color: oklch(46.8% 0.108 124.6);
Tailwind
colors: {
  custom: {
    50: '#829058',
    500: '#4d6412',
    950: '#000000',
  },
}
SCSS
$custom: #4d6412;
$custom-light: #829058;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6412",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 76.829,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46814,
    "c": 0.10786,
    "h": 124.6
  },
  "luminance": 0.10736
}

Semantic roles & 50–950 ramp

primary
#4D6412
secondary
#52369C
accent
#3BEC6D
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4D6412

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

Preview Lab → · Contrast checker → · Palette generator →

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