#4D7B1D#4D7B1D

#4D7B1D is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 53.0% C 0.132 H 132.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4D7B1D
RGBrgb(77, 123, 29)
HSLhsl(89, 62%, 30%)
HSVhsv(89, 76%, 48%)
CMYKcmyk(37.4%, 0%, 76.4%, 51.8%)
CIE-LABlab(46.75, -31.61, 43.58)
CIE-LCHlch(46.75, 53.83, 125.95°)
OKLaboklab(53.04% -0.0891 0.0976)
OKLCHoklch(53.04% 0.132 132.4)
XYZxyz(10.3652, 15.8320, 3.6719)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7B1D #4B1D7B
analogous
#7B7A1D #4D7B1D #1E7B1D
triadic
#4D7B1D #1D4D7B #7B1D4D
tetradic
#4D7B1D #1D7B7A #4B1D7B #7B1D1E
square
#4D7B1D #1D7B7A #4B1D7B #7B1D1E
split-complementary
#4D7B1D #1D1E7B #7A1D7B
monochromatic
#101906 #2E4911 #4D7B1D #6CAD29 #8BD240

Accessibility & contrast

On white

5.04
#4D7B1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#4D7B1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7B1D
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7B1D#FFFFFF#000000##FFFFFF
##4D7B1D1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710A
Deuteranopia (green-blind)
#7A6E26
Tritanopia (blue-blind)
#4E7669
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4d7b1d;
/* rgb */ color: rgb(77, 123, 29);
/* oklch */ color: oklch(53.0% 0.132 132.4);
Tailwind
colors: {
  custom: {
    50: '#83a160',
    500: '#4d7b1d',
    950: '#000000',
  },
}
SCSS
$custom: #4d7b1d;
$custom-light: #83a160;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7b1d",
  "rgb": {
    "r": 77,
    "g": 123,
    "b": 29
  },
  "hsl": {
    "h": 89.362,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53035,
    "c": 0.13215,
    "h": 132.4
  },
  "luminance": 0.15832
}

Semantic roles & 50–950 ramp

primary
#4D7B1D
secondary
#7945AF
accent
#43E592
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4D7B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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