#4D731A#4D731A

#4D731A is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.9% C 0.123 H 130.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4D731A
RGBrgb(77, 115, 26)
HSLhsl(86, 63%, 28%)
HSVhsv(86, 77%, 45%)
CMYKcmyk(33%, 0%, 77.4%, 54.9%)
CIE-LABlab(44.11, -28.05, 42.12)
CIE-LCHlch(44.11, 50.60, 123.66°)
OKLaboklab(50.87% -0.0797 0.094)
OKLCHoklch(50.87% 0.123 130.3)
XYZxyz(9.3777, 13.9135, 3.1686)
Luminance0.1391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D731A #401A73
analogous
#736D1A #4D731A #20731A
triadic
#4D731A #1A4D73 #731A4D
tetradic
#4D731A #1A736D #401A73 #731A20
square
#4D731A #1A736D #401A73 #731A20
split-complementary
#4D731A #1A2073 #6D1A73
monochromatic
#111906 #2C410F #4D731A #6EA525 #8FD236

Accessibility & contrast

On white

5.55
#4D731A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4D731A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D731A
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D731A#FFFFFF#000000##FFFFFF
##4D731A1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A08
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#4F6E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d731a;
/* rgb */ color: rgb(77, 115, 26);
/* oklch */ color: oklch(50.9% 0.123 130.3);
Tailwind
colors: {
  custom: {
    50: '#829b5e',
    500: '#4d731a',
    950: '#000000',
  },
}
SCSS
$custom: #4d731a;
$custom-light: #829b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d731a",
  "rgb": {
    "r": 77,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 85.618,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50872,
    "c": 0.12327,
    "h": 130.3
  },
  "luminance": 0.13914
}

Semantic roles & 50–950 ramp

primary
#4D731A
secondary
#6D41A8
accent
#42E688
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D731A

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

Preview Lab → · Contrast checker → · Palette generator →

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