#4D7C1B#4D7C1B

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

Color values

HEX#4D7C1B
RGBrgb(77, 124, 27)
HSLhsl(89, 64%, 30%)
HSVhsv(89, 78%, 49%)
CMYKcmyk(37.9%, 0%, 78.2%, 51.4%)
CIE-LABlab(47.07, -32.19, 44.62)
CIE-LCHlch(47.07, 55.02, 125.81°)
OKLaboklab(53.29% -0.0909 0.0994)
OKLCHoklch(53.29% 0.135 132.4)
XYZxyz(10.4659, 16.0718, 3.5874)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7C1B #4A1B7C
analogous
#7C7B1B #4D7C1B #1D7C1B
triadic
#4D7C1B #1B4D7C #7C1B4D
tetradic
#4D7C1B #1B7C7B #4A1B7C #7C1B1D
square
#4D7C1B #1B7C7B #4A1B7C #7C1B1D
split-complementary
#4D7C1B #1B1D7C #7B1B7C
monochromatic
#101905 #2E4A10 #4D7C1B #6CAE26 #8BD53D

Accessibility & contrast

On white

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

On black

4.21
#4D7C1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4D7C1B#FFFFFF#000000##FFFFFF
##4D7C1B1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d7c1b;
/* rgb */ color: rgb(77, 124, 27);
/* oklch */ color: oklch(53.3% 0.135 132.4);
Tailwind
colors: {
  custom: {
    50: '#83a25f',
    500: '#4d7c1b',
    950: '#000000',
  },
}
SCSS
$custom: #4d7c1b;
$custom-light: #83a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7c1b",
  "rgb": {
    "r": 77,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 89.072,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53289,
    "c": 0.13471,
    "h": 132.4
  },
  "luminance": 0.16072
}

Semantic roles & 50–950 ramp

primary
#4D7C1B
secondary
#7843B0
accent
#41E791
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D7C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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