#4D8117#4D8117

#4D8117 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.6% C 0.143 H 133.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4D8117
RGBrgb(77, 129, 23)
HSLhsl(89, 70%, 30%)
HSVhsv(89, 82%, 51%)
CMYKcmyk(40.3%, 0%, 82.2%, 49.4%)
CIE-LABlab(48.69, -34.67, 47.49)
CIE-LCHlch(48.69, 58.80, 126.13°)
OKLaboklab(54.6% -0.0978 0.1048)
OKLCHoklch(54.6% 0.143 133)
XYZxyz(11.0653, 17.3396, 3.5743)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8117 #4B1781
analogous
#818017 #4D8117 #188117
triadic
#4D8117 #174D81 #81174D
tetradic
#4D8117 #178180 #4B1781 #811718
square
#4D8117 #178180 #4B1781 #811718
split-complementary
#4D8117 #171881 #801781
monochromatic
#101A05 #2E4D0E #4D8117 #6CB520 #8BDB37

Accessibility & contrast

On white

4.70
#4D8117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#4D8117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D8117
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8117#FFFFFF#000000##FFFFFF
##4D81171.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#807223
Tritanopia (blue-blind)
#4D7B6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4d8117;
/* rgb */ color: rgb(77, 129, 23);
/* oklch */ color: oklch(54.6% 0.143 133.0);
Tailwind
colors: {
  custom: {
    50: '#84a65e',
    500: '#4d8117',
    950: '#000000',
  },
}
SCSS
$custom: #4d8117;
$custom-light: #84a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8117",
  "rgb": {
    "r": 77,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 89.434,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54604,
    "c": 0.14337,
    "h": 133
  },
  "luminance": 0.1734
}

Semantic roles & 50–950 ramp

primary
#4D8117
secondary
#793EB5
accent
#3BED92
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D8117

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

Preview Lab → · Contrast checker → · Palette generator →

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