#4D8629#4D8629

#4D8629 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.1% C 0.139 H 135.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4D8629
RGBrgb(77, 134, 41)
HSLhsl(97, 53%, 34%)
HSVhsv(97, 69%, 53%)
CMYKcmyk(42.5%, 0%, 69.4%, 47.5%)
CIE-LABlab(50.44, -35.64, 42.49)
CIE-LCHlch(50.44, 55.46, 129.99°)
OKLaboklab(56.08% -0.0991 0.0971)
OKLCHoklch(56.08% 0.139 135.6)
XYZxyz(11.9856, 18.7874, 5.0922)
Luminance0.1879 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8629 #622986
analogous
#7C8629 #4D8629 #298634
triadic
#4D8629 #294D86 #86294D
tetradic
#4D8629 #297C86 #622986 #863429
square
#4D8629 #297C86 #622986 #863429
split-complementary
#4D8629 #342986 #86297C
monochromatic
#17280C #32571B #4D8629 #68B537 #88CD5C

Accessibility & contrast

On white

4.41
#4D8629 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#4D8629 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8629
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8629#FFFFFF#000000##000000
##4D86291.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1C
Deuteranopia (green-blind)
#837631
Tritanopia (blue-blind)
#4B8173
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4d8629;
/* rgb */ color: rgb(77, 134, 41);
/* oklch */ color: oklch(56.1% 0.139 135.6);
Tailwind
colors: {
  custom: {
    50: '#84aa68',
    500: '#4d8629',
    950: '#000000',
  },
}
SCSS
$custom: #4d8629;
$custom-light: #84aa68;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8629",
  "rgb": {
    "r": 77,
    "g": 134,
    "b": 41
  },
  "hsl": {
    "h": 96.774,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56076,
    "c": 0.13873,
    "h": 135.6
  },
  "luminance": 0.18788
}

Semantic roles & 50–950 ramp

primary
#4D8629
secondary
#9058B3
accent
#4BDDA4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8629

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

Preview Lab → · Contrast checker → · Palette generator →

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