#4D7D1B#4D7D1B

#4D7D1B is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.6% C 0.136 H 132.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4D7D1B
RGBrgb(77, 125, 27)
HSLhsl(89, 64%, 30%)
HSVhsv(89, 78%, 49%)
CMYKcmyk(38.4%, 0%, 78.4%, 51%)
CIE-LABlab(47.40, -32.65, 44.94)
CIE-LCHlch(47.40, 55.55, 126.00°)
OKLaboklab(53.56% -0.0921 0.1001)
OKLCHoklch(53.56% 0.136 132.6)
XYZxyz(10.5919, 16.3237, 3.6294)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7D1B #4B1B7D
analogous
#7D7C1B #4D7D1B #1C7D1B
triadic
#4D7D1B #1B4D7D #7D1B4D
tetradic
#4D7D1B #1B7D7C #4B1B7D #7D1B1C
square
#4D7D1B #1B7D7C #4B1B7D #7D1B1C
split-complementary
#4D7D1B #1B1C7D #7C1B7D
monochromatic
#101905 #2E4B10 #4D7D1B #6CAF26 #8BD53D

Accessibility & contrast

On white

4.92
#4D7D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#4D7D1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7D1B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7D1B#FFFFFF#000000##FFFFFF
##4D7D1B1.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827305
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#4E786A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4d7d1b;
/* rgb */ color: rgb(77, 125, 27);
/* oklch */ color: oklch(53.6% 0.136 132.6);
Tailwind
colors: {
  custom: {
    50: '#83a35f',
    500: '#4d7d1b',
    950: '#000000',
  },
}
SCSS
$custom: #4d7d1b;
$custom-light: #83a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7d1b",
  "rgb": {
    "r": 77,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 89.388,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53557,
    "c": 0.13602,
    "h": 132.6
  },
  "luminance": 0.16324
}

Semantic roles & 50–950 ramp

primary
#4D7D1B
secondary
#7943B1
accent
#40E792
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D7D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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