#4D7929#4D7929

#4D7929 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.6% C 0.121 H 133.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4D7929
RGBrgb(77, 121, 41)
HSLhsl(93, 49%, 32%)
HSVhsv(93, 66%, 47%)
CMYKcmyk(36.4%, 0%, 66.1%, 52.5%)
CIE-LABlab(46.19, -29.71, 37.93)
CIE-LCHlch(46.19, 48.18, 128.07°)
OKLaboklab(52.61% -0.083 0.0875)
OKLCHoklch(52.61% 0.121 133.5)
XYZxyz(10.2980, 15.4122, 4.5296)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7929 #552979
analogous
#757929 #4D7929 #29792D
triadic
#4D7929 #294D79 #79294D
tetradic
#4D7929 #297579 #552979 #792D29
square
#4D7929 #297579 #552979 #792D29
split-complementary
#4D7929 #2D2979 #792975
monochromatic
#131E0A #304B1A #4D7929 #6AA738 #89C656

Accessibility & contrast

On white

5.14
#4D7929 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#4D7929 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7929
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7929#FFFFFF#000000##FFFFFF
##4D79291.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701F
Deuteranopia (green-blind)
#786C2F
Tritanopia (blue-blind)
#4D7468
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4d7929;
/* rgb */ color: rgb(77, 121, 41);
/* oklch */ color: oklch(52.6% 0.121 133.5);
Tailwind
colors: {
  custom: {
    50: '#82a067',
    500: '#4d7929',
    950: '#000000',
  },
}
SCSS
$custom: #4d7929;
$custom-light: #82a067;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7929",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 41
  },
  "hsl": {
    "h": 93,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52609,
    "c": 0.12055,
    "h": 133.5
  },
  "luminance": 0.15413
}

Semantic roles & 50–950 ramp

primary
#4D7929
secondary
#8353AB
accent
#4FD99B
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4D7929

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

Preview Lab → · Contrast checker → · Palette generator →

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