#4D7331#4D7331

#4D7331 is a mid, moderate yellow-green. Relative luminance 0.141; OKLCH L 51.1% C 0.104 H 133.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4D7331
RGBrgb(77, 115, 49)
HSLhsl(95, 40%, 32%)
HSVhsv(95, 57%, 45%)
CMYKcmyk(33%, 0%, 57.4%, 54.9%)
CIE-LABlab(44.32, -25.98, 31.88)
CIE-LCHlch(44.32, 41.12, 129.17°)
OKLaboklab(51.11% -0.072 0.0754)
OKLCHoklch(51.11% 0.104 133.7)
XYZxyz(9.7455, 14.0606, 5.1056)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7331 #573173
analogous
#6E7331 #4D7331 #317336
triadic
#4D7331 #314D73 #73314D
tetradic
#4D7331 #316E73 #573173 #733631
square
#4D7331 #316E73 #573173 #733631
split-complementary
#4D7331 #363173 #73316E
monochromatic
#141D0C #30481F #4D7331 #6A9E43 #88BC62

Accessibility & contrast

On white

5.51
#4D7331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4D7331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7331
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7331#FFFFFF#000000##FFFFFF
##4D73311.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776B2B
Deuteranopia (green-blind)
#726836
Tritanopia (blue-blind)
#4D6F64
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4d7331;
/* rgb */ color: rgb(77, 115, 49);
/* oklch */ color: oklch(51.1% 0.104 133.7);
Tailwind
colors: {
  custom: {
    50: '#819b6b',
    500: '#4d7331',
    950: '#000000',
  },
}
SCSS
$custom: #4d7331;
$custom-light: #819b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7331",
  "rgb": {
    "r": 77,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 94.545,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51112,
    "c": 0.10428,
    "h": 133.7
  },
  "luminance": 0.14061
}

Semantic roles & 50–950 ramp

primary
#4D7331
secondary
#855CA4
accent
#58D09D
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #4D7331

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

Preview Lab → · Contrast checker → · Palette generator →

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