#4D7F19#4D7F19

#4D7F19 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.1% C 0.140 H 132.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4D7F19
RGBrgb(77, 127, 25)
HSLhsl(89, 67%, 30%)
HSVhsv(89, 80%, 50%)
CMYKcmyk(39.4%, 0%, 80.3%, 50.2%)
CIE-LABlab(48.04, -33.67, 46.24)
CIE-LCHlch(48.04, 57.20, 126.06°)
OKLaboklab(54.08% -0.095 0.1025)
OKLCHoklch(54.08% 0.14 132.8)
XYZxyz(10.8253, 16.8262, 3.5969)
Luminance0.1683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7F19 #4B197F
analogous
#7F7E19 #4D7F19 #1A7F19
triadic
#4D7F19 #194D7F #7F194D
tetradic
#4D7F19 #197F7E #4B197F #7F191A
square
#4D7F19 #197F7E #4B197F #7F191A
split-complementary
#4D7F19 #191A7F #7E197F
monochromatic
#101A05 #2E4C0F #4D7F19 #6CB223 #8BD83A

Accessibility & contrast

On white

4.81
#4D7F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#4D7F19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7F19
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7F19#FFFFFF#000000##FFFFFF
##4D7F191.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#4D7A6C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4d7f19;
/* rgb */ color: rgb(77, 127, 25);
/* oklch */ color: oklch(54.1% 0.140 132.8);
Tailwind
colors: {
  custom: {
    50: '#84a45f',
    500: '#4d7f19',
    950: '#000000',
  },
}
SCSS
$custom: #4d7f19;
$custom-light: #84a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7f19",
  "rgb": {
    "r": 77,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 89.412,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54079,
    "c": 0.13975,
    "h": 132.8
  },
  "luminance": 0.16827
}

Semantic roles & 50–950 ramp

primary
#4D7F19
secondary
#7941B3
accent
#3EEA92
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D7F19

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

Preview Lab → · Contrast checker → · Palette generator →

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