#4D7019#4D7019

#4D7019 is a mid, moderate yellow-green. Relative luminance 0.132; OKLCH L 50.1% C 0.120 H 129.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4D7019
RGBrgb(77, 112, 25)
HSLhsl(84, 64%, 27%)
HSVhsv(84, 78%, 44%)
CMYKcmyk(31.2%, 0%, 77.7%, 56.1%)
CIE-LABlab(43.12, -26.66, 41.53)
CIE-LCHlch(43.12, 49.35, 122.70°)
OKLaboklab(50.06% -0.076 0.0926)
OKLCHoklch(50.06% 0.12 129.4)
XYZxyz(9.0302, 13.2361, 2.9986)
Luminance0.1324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7019 #3C1970
analogous
#706819 #4D7019 #227019
triadic
#4D7019 #194D70 #70194D
tetradic
#4D7019 #197068 #3C1970 #701922
square
#4D7019 #197068 #3C1970 #701922
split-complementary
#4D7019 #192270 #681970
monochromatic
#111906 #2B3E0E #4D7019 #6FA224 #91D132

Accessibility & contrast

On white

5.76
#4D7019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4D7019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7019
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7019#FFFFFF#000000##FFFFFF
##4D70191.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766707
Deuteranopia (green-blind)
#716521
Tritanopia (blue-blind)
#4F6B5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d7019;
/* rgb */ color: rgb(77, 112, 25);
/* oklch */ color: oklch(50.1% 0.120 129.4);
Tailwind
colors: {
  custom: {
    50: '#82995d',
    500: '#4d7019',
    950: '#000000',
  },
}
SCSS
$custom: #4d7019;
$custom-light: #82995d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7019",
  "rgb": {
    "r": 77,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 84.138,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50062,
    "c": 0.11983,
    "h": 129.4
  },
  "luminance": 0.13236
}

Semantic roles & 50–950 ramp

primary
#4D7019
secondary
#6840A5
accent
#41E784
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7019

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

Preview Lab → · Contrast checker → · Palette generator →

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