#4D8D29#4D8D29

#4D8D29 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.9% C 0.148 H 136.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4D8D29
RGBrgb(77, 141, 41)
HSLhsl(98, 55%, 36%)
HSVhsv(98, 71%, 55%)
CMYKcmyk(45.4%, 0%, 70.9%, 44.7%)
CIE-LABlab(52.72, -38.67, 44.88)
CIE-LCHlch(52.72, 59.24, 130.75°)
OKLaboklab(57.94% -0.1073 0.1021)
OKLCHoklch(57.94% 0.148 136.4)
XYZxyz(12.9853, 20.7868, 5.4254)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8D29 #69298D
analogous
#7F8D29 #4D8D29 #298D37
triadic
#4D8D29 #294D8D #8D294D
tetradic
#4D8D29 #297F8D #69298D #8D3729
square
#4D8D29 #297F8D #69298D #8D3729
split-complementary
#4D8D29 #37298D #8D297F
monochromatic
#192E0D #335E1B #4D8D29 #67BC37 #88D160

Accessibility & contrast

On white

4.07
#4D8D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4D8D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8D29
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8D29#FFFFFF#000000##000000
##4D8D291.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811A
Deuteranopia (green-blind)
#897C32
Tritanopia (blue-blind)
#4A8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d8d29;
/* rgb */ color: rgb(77, 141, 41);
/* oklch */ color: oklch(57.9% 0.148 136.4);
Tailwind
colors: {
  custom: {
    50: '#84af69',
    500: '#4d8d29',
    950: '#000000',
  },
}
SCSS
$custom: #4d8d29;
$custom-light: #84af69;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8d29",
  "rgb": {
    "r": 77,
    "g": 141,
    "b": 41
  },
  "hsl": {
    "h": 98.4,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57942,
    "c": 0.14814,
    "h": 136.4
  },
  "luminance": 0.20788
}

Semantic roles & 50–950 ramp

primary
#4D8D29
secondary
#965BB6
accent
#4ADEA9
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8D29

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

Preview Lab → · Contrast checker → · Palette generator →

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