#4D751D#4D751D

#4D751D is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.4% C 0.124 H 131.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4D751D
RGBrgb(77, 117, 29)
HSLhsl(87, 60%, 29%)
HSVhsv(87, 75%, 46%)
CMYKcmyk(34.2%, 0%, 75.2%, 54.1%)
CIE-LABlab(44.79, -28.80, 41.63)
CIE-LCHlch(44.79, 50.62, 124.68°)
OKLaboklab(51.43% -0.0815 0.0935)
OKLCHoklch(51.43% 0.124 131.1)
XYZxyz(9.6435, 14.3887, 3.4314)
Luminance0.1439 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D751D #451D75
analogous
#75711D #4D751D #21751D
triadic
#4D751D #1D4D75 #751D4D
tetradic
#4D751D #1D7571 #451D75 #751D21
square
#4D751D #1D7571 #451D75 #751D21
split-complementary
#4D751D #1D2175 #711D75
monochromatic
#101906 #2D4411 #4D751D #6DA629 #8DCF3D

Accessibility & contrast

On white

5.42
#4D751D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#4D751D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D751D
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D751D#FFFFFF#000000##FFFFFF
##4D751D1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C0D
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#4F7064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4d751d;
/* rgb */ color: rgb(77, 117, 29);
/* oklch */ color: oklch(51.4% 0.124 131.1);
Tailwind
colors: {
  custom: {
    50: '#829d5f',
    500: '#4d751d',
    950: '#000000',
  },
}
SCSS
$custom: #4d751d;
$custom-light: #829d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d751d",
  "rgb": {
    "r": 77,
    "g": 117,
    "b": 29
  },
  "hsl": {
    "h": 87.273,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5143,
    "c": 0.12403,
    "h": 131.1
  },
  "luminance": 0.14389
}

Semantic roles & 50–950 ramp

primary
#4D751D
secondary
#7245A9
accent
#44E38D
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D751D

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

Preview Lab → · Contrast checker → · Palette generator →

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