#4D7B2D#4D7B2D

#4D7B2D is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.2% C 0.120 H 134.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4D7B2D
RGBrgb(77, 123, 45)
HSLhsl(95, 46%, 33%)
HSVhsv(95, 63%, 48%)
CMYKcmyk(37.4%, 0%, 63.4%, 51.8%)
CIE-LABlab(46.89, -30.26, 36.81)
CIE-LCHlch(46.89, 47.65, 129.42°)
OKLaboklab(53.19% -0.0841 0.0856)
OKLCHoklch(53.19% 0.12 134.5)
XYZxyz(10.6170, 15.9327, 4.9980)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7B2D #5B2D7B
analogous
#747B2D #4D7B2D #2D7B34
triadic
#4D7B2D #2D4D7B #7B2D4D
tetradic
#4D7B2D #2D747B #5B2D7B #7B342D
square
#4D7B2D #2D747B #5B2D7B #7B342D
split-complementary
#4D7B2D #342D7B #7B2D74
monochromatic
#15210C #314E1D #4D7B2D #69A83D #88C45E

Accessibility & contrast

On white

5.02
#4D7B2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#4D7B2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7B2D
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7B2D#FFFFFF#000000##FFFFFF
##4D7B2D1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807224
Deuteranopia (green-blind)
#796E33
Tritanopia (blue-blind)
#4D766A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4d7b2d;
/* rgb */ color: rgb(77, 123, 45);
/* oklch */ color: oklch(53.2% 0.120 134.5);
Tailwind
colors: {
  custom: {
    50: '#82a169',
    500: '#4d7b2d',
    950: '#000000',
  },
}
SCSS
$custom: #4d7b2d;
$custom-light: #82a169;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7b2d",
  "rgb": {
    "r": 77,
    "g": 123,
    "b": 45
  },
  "hsl": {
    "h": 95.385,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53186,
    "c": 0.12001,
    "h": 134.5
  },
  "luminance": 0.15933
}

Semantic roles & 50–950 ramp

primary
#4D7B2D
secondary
#8959AB
accent
#52D6A0
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #4D7B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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