#4D7C1C#4D7C1C

#4D7C1C is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.3% C 0.134 H 132.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4D7C1C
RGBrgb(77, 124, 28)
HSLhsl(89, 63%, 30%)
HSVhsv(89, 77%, 49%)
CMYKcmyk(37.9%, 0%, 77.4%, 51.4%)
CIE-LABlab(47.07, -32.13, 44.27)
CIE-LCHlch(47.07, 54.70, 125.97°)
OKLaboklab(53.3% -0.0906 0.0988)
OKLCHoklch(53.3% 0.134 132.5)
XYZxyz(10.4777, 16.0765, 3.6494)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7C1C #4B1C7C
analogous
#7C7B1C #4D7C1C #1D7C1C
triadic
#4D7C1C #1C4D7C #7C1C4D
tetradic
#4D7C1C #1C7C7B #4B1C7C #7C1C1D
square
#4D7C1C #1C7C7B #4B1C7C #7C1C1D
split-complementary
#4D7C1C #1C1D7C #7B1C7C
monochromatic
#101906 #2E4A11 #4D7C1C #6CAE27 #8BD43F

Accessibility & contrast

On white

4.98
#4D7C1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#4D7C1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7C1C
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7C1C#FFFFFF#000000##FFFFFF
##4D7C1C1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817207
Deuteranopia (green-blind)
#7B6E26
Tritanopia (blue-blind)
#4E776A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4d7c1c;
/* rgb */ color: rgb(77, 124, 28);
/* oklch */ color: oklch(53.3% 0.134 132.5);
Tailwind
colors: {
  custom: {
    50: '#83a260',
    500: '#4d7c1c',
    950: '#000000',
  },
}
SCSS
$custom: #4d7c1c;
$custom-light: #83a260;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7c1c",
  "rgb": {
    "r": 77,
    "g": 124,
    "b": 28
  },
  "hsl": {
    "h": 89.375,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53296,
    "c": 0.1341,
    "h": 132.5
  },
  "luminance": 0.16077
}

Semantic roles & 50–950 ramp

primary
#4D7C1C
secondary
#7944B0
accent
#42E692
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D7C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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