#4D6212#4D6212

#4D6212 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.3% C 0.105 H 123.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#4D6212
RGBrgb(77, 98, 18)
HSLhsl(76, 69%, 23%)
HSVhsv(76, 82%, 38%)
CMYKcmyk(21.4%, 0%, 81.6%, 61.6%)
CIE-LABlab(38.48, -19.99, 39.66)
CIE-LCHlch(38.48, 44.42, 116.75°)
OKLaboklab(46.28% -0.0584 0.0875)
OKLCHoklch(46.28% 0.105 123.7)
XYZxyz(7.5375, 10.3568, 2.1741)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6212 #271262
analogous
#624F12 #4D6212 #256212
triadic
#4D6212 #124D62 #62124D
tetradic
#4D6212 #12624F #271262 #621225
square
#4D6212 #12624F #271262 #621225
split-complementary
#4D6212 #122562 #4F1262
monochromatic
#141A05 #242E09 #4D6212 #76961B #9EC925

Accessibility & contrast

On white

6.84
#4D6212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4D6212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6212
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6212#FFFFFF#000000##FFFFFF
##4D62121.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B01
Deuteranopia (green-blind)
#655A1A
Tritanopia (blue-blind)
#515D53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d6212;
/* rgb */ color: rgb(77, 98, 18);
/* oklch */ color: oklch(46.3% 0.105 123.7);
Tailwind
colors: {
  custom: {
    50: '#828e57',
    500: '#4d6212',
    950: '#000000',
  },
}
SCSS
$custom: #4d6212;
$custom-light: #828e57;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6212",
  "rgb": {
    "r": 77,
    "g": 98,
    "b": 18
  },
  "hsl": {
    "h": 75.75,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.46282,
    "c": 0.1052,
    "h": 123.7
  },
  "luminance": 0.10357
}

Semantic roles & 50–950 ramp

primary
#4D6212
secondary
#50369A
accent
#3CEC6A
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4D6212

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

Preview Lab → · Contrast checker → · Palette generator →

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