#4D7119#4D7119

#4D7119 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.3% C 0.121 H 129.7°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4D7119
RGBrgb(77, 113, 25)
HSLhsl(85, 64%, 27%)
HSVhsv(85, 78%, 44%)
CMYKcmyk(31.9%, 0%, 77.9%, 55.7%)
CIE-LABlab(43.45, -27.15, 41.85)
CIE-LCHlch(43.45, 49.88, 122.97°)
OKLaboklab(50.33% -0.0773 0.0933)
OKLCHoklch(50.33% 0.121 129.7)
XYZxyz(9.1411, 13.4579, 3.0355)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7119 #3D1971
analogous
#716919 #4D7119 #217119
triadic
#4D7119 #194D71 #71194D
tetradic
#4D7119 #197169 #3D1971 #711921
square
#4D7119 #197169 #3D1971 #711921
split-complementary
#4D7119 #192171 #691971
monochromatic
#111906 #2B3F0E #4D7119 #6FA324 #91D233

Accessibility & contrast

On white

5.69
#4D7119 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4D7119 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7119
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7119#FFFFFF#000000##FFFFFF
##4D71191.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776807
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#4F6C60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d7119;
/* rgb */ color: rgb(77, 113, 25);
/* oklch */ color: oklch(50.3% 0.121 129.7);
Tailwind
colors: {
  custom: {
    50: '#829a5d',
    500: '#4d7119',
    950: '#000000',
  },
}
SCSS
$custom: #4d7119;
$custom-light: #829a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7119",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 25
  },
  "hsl": {
    "h": 84.545,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.5033,
    "c": 0.12119,
    "h": 129.7
  },
  "luminance": 0.13458
}

Semantic roles & 50–950 ramp

primary
#4D7119
secondary
#6A40A6
accent
#41E785
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7119

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

Preview Lab → · Contrast checker → · Palette generator →

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