#4D751A#4D751A

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

Color values

HEX#4D751A
RGBrgb(77, 117, 26)
HSLhsl(86, 64%, 28%)
HSVhsv(86, 78%, 46%)
CMYKcmyk(34.2%, 0%, 77.8%, 54.1%)
CIE-LABlab(44.77, -29.00, 42.76)
CIE-LCHlch(44.77, 51.66, 124.15°)
OKLaboklab(51.41% -0.0823 0.0954)
OKLCHoklch(51.41% 0.126 130.8)
XYZxyz(9.6082, 14.3746, 3.2454)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D751A #421A75
analogous
#756F1A #4D751A #1F751A
triadic
#4D751A #1A4D75 #751A4D
tetradic
#4D751A #1A756F #421A75 #751A1F
square
#4D751A #1A756F #421A75 #751A1F
split-complementary
#4D751A #1A1F75 #6F1A75
monochromatic
#101906 #2C430F #4D751A #6EA725 #8ED337

Accessibility & contrast

On white

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

On black

3.87
#4D751A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4D751A#FFFFFF#000000##FFFFFF
##4D751A1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d751a;
/* rgb */ color: rgb(77, 117, 26);
/* oklch */ color: oklch(51.4% 0.126 130.8);
Tailwind
colors: {
  custom: {
    50: '#839d5e',
    500: '#4d751a',
    950: '#000000',
  },
}
SCSS
$custom: #4d751a;
$custom-light: #839d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d751a",
  "rgb": {
    "r": 77,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 86.374,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51407,
    "c": 0.12596,
    "h": 130.8
  },
  "luminance": 0.14375
}

Semantic roles & 50–950 ramp

primary
#4D751A
secondary
#6F41AA
accent
#41E78A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D751A

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

Preview Lab → · Contrast checker → · Palette generator →

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