#4D812E#4D812E

#4D812E is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.8% C 0.128 H 135.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4D812E
RGBrgb(77, 129, 46)
HSLhsl(98, 47%, 34%)
HSVhsv(98, 64%, 51%)
CMYKcmyk(40.3%, 0%, 64.3%, 49.4%)
CIE-LABlab(48.85, -32.93, 38.53)
CIE-LCHlch(48.85, 50.69, 130.52°)
OKLaboklab(54.8% -0.0914 0.0894)
OKLCHoklch(54.8% 0.128 135.6)
XYZxyz(11.4037, 17.4750, 5.3564)
Luminance0.1748 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D812E #622E81
analogous
#77812E #4D812E #2E8138
triadic
#4D812E #2E4D81 #812E4D
tetradic
#4D812E #2E7781 #622E81 #81382E
square
#4D812E #2E7781 #622E81 #81382E
split-complementary
#4D812E #382E81 #812E77
monochromatic
#17270E #32541E #4D812E #68AE3E #88C762

Accessibility & contrast

On white

4.67
#4D812E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#4D812E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4D812E
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D812E#FFFFFF#000000##FFFFFF
##4D812E1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867724
Deuteranopia (green-blind)
#7E7235
Tritanopia (blue-blind)
#4C7C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4d812e;
/* rgb */ color: rgb(77, 129, 46);
/* oklch */ color: oklch(54.8% 0.128 135.6);
Tailwind
colors: {
  custom: {
    50: '#83a66a',
    500: '#4d812e',
    950: '#000000',
  },
}
SCSS
$custom: #4d812e;
$custom-light: #83a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d812e",
  "rgb": {
    "r": 77,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 97.59,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54795,
    "c": 0.12779,
    "h": 135.6
  },
  "luminance": 0.17476
}

Semantic roles & 50–950 ramp

primary
#4D812E
secondary
#905DAE
accent
#51D7A5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4D812E

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

Preview Lab → · Contrast checker → · Palette generator →

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