#4D7A1E#4D7A1E

#4D7A1E is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.8% C 0.130 H 132.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4D7A1E
RGBrgb(77, 122, 30)
HSLhsl(89, 61%, 30%)
HSVhsv(89, 75%, 48%)
CMYKcmyk(36.9%, 0%, 75.4%, 52.2%)
CIE-LABlab(46.43, -31.08, 42.88)
CIE-LCHlch(46.43, 52.96, 125.93°)
OKLaboklab(52.78% -0.0876 0.0963)
OKLCHoklch(52.78% 0.13 132.3)
XYZxyz(10.2543, 15.5902, 3.6970)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7A1E #4B1E7A
analogous
#7A791E #4D7A1E #1F7A1E
triadic
#4D7A1E #1E4D7A #7A1E4D
tetradic
#4D7A1E #1E7A79 #4B1E7A #7A1E1F
square
#4D7A1E #1E7A79 #4B1E7A #7A1E1F
split-complementary
#4D7A1E #1E1F7A #791E7A
monochromatic
#101906 #2E4912 #4D7A1E #6CAB2A #8BD042

Accessibility & contrast

On white

5.10
#4D7A1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#4D7A1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7A1E
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7A1E#FFFFFF#000000##FFFFFF
##4D7A1E1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700D
Deuteranopia (green-blind)
#796D27
Tritanopia (blue-blind)
#4E7568
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4d7a1e;
/* rgb */ color: rgb(77, 122, 30);
/* oklch */ color: oklch(52.8% 0.130 132.3);
Tailwind
colors: {
  custom: {
    50: '#83a161',
    500: '#4d7a1e',
    950: '#000000',
  },
}
SCSS
$custom: #4d7a1e;
$custom-light: #83a161;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7a1e",
  "rgb": {
    "r": 77,
    "g": 122,
    "b": 30
  },
  "hsl": {
    "h": 89.348,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52775,
    "c": 0.13017,
    "h": 132.3
  },
  "luminance": 0.15591
}

Semantic roles & 50–950 ramp

primary
#4D7A1E
secondary
#7946AE
accent
#44E492
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4D7A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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