#4D7B1E#4D7B1E

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

Color values

HEX#4D7B1E
RGBrgb(77, 123, 30)
HSLhsl(90, 61%, 30%)
HSVhsv(90, 76%, 48%)
CMYKcmyk(37.4%, 0%, 75.6%, 51.8%)
CIE-LABlab(46.76, -31.54, 43.20)
CIE-LCHlch(46.76, 53.49, 126.13°)
OKLaboklab(53.04% -0.0889 0.097)
OKLCHoklch(53.04% 0.132 132.5)
XYZxyz(10.3777, 15.8370, 3.7381)
Luminance0.1584 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7B1E #4C1E7B
analogous
#7B7A1E #4D7B1E #1F7B1E
triadic
#4D7B1E #1E4D7B #7B1E4D
tetradic
#4D7B1E #1E7B7A #4C1E7B #7B1E1F
square
#4D7B1E #1E7B7A #4C1E7B #7B1E1F
split-complementary
#4D7B1E #1E1F7B #7A1E7B
monochromatic
#0F1906 #2E4A12 #4D7B1E #6CAC2A #8AD142

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D7B1E#FFFFFF#000000##FFFFFF
##4D7B1E1.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)
#80710C
Deuteranopia (green-blind)
#7A6E27
Tritanopia (blue-blind)
#4E7669
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4d7b1e;
/* rgb */ color: rgb(77, 123, 30);
/* oklch */ color: oklch(53.0% 0.132 132.5);
Tailwind
colors: {
  custom: {
    50: '#83a161',
    500: '#4d7b1e',
    950: '#000000',
  },
}
SCSS
$custom: #4d7b1e;
$custom-light: #83a161;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7b1e",
  "rgb": {
    "r": 77,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 89.677,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.53043,
    "c": 0.13151,
    "h": 132.5
  },
  "luminance": 0.15837
}

Semantic roles & 50–950 ramp

primary
#4D7B1E
secondary
#7A46AE
accent
#44E493
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4D7B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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