#4D731D#4D731D

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

Color values

HEX#4D731D
RGBrgb(77, 115, 29)
HSLhsl(87, 60%, 28%)
HSVhsv(87, 75%, 45%)
CMYKcmyk(33%, 0%, 74.8%, 54.9%)
CIE-LABlab(44.13, -27.85, 40.97)
CIE-LCHlch(44.13, 49.54, 124.20°)
OKLaboklab(50.9% -0.0789 0.0921)
OKLCHoklch(50.9% 0.121 130.6)
XYZxyz(9.4130, 13.9276, 3.3545)
Luminance0.1393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D731D #431D73
analogous
#736E1D #4D731D #22731D
triadic
#4D731D #1D4D73 #731D4D
tetradic
#4D731D #1D736E #431D73 #731D22
square
#4D731D #1D736E #431D73 #731D22
split-complementary
#4D731D #1D2273 #6E1D73
monochromatic
#101806 #2C4211 #4D731D #6EA429 #8ECE3C

Accessibility & contrast

On white

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

On black

3.79
#4D731D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4D731D#FFFFFF#000000##FFFFFF
##4D731D1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A0E
Deuteranopia (green-blind)
#736725
Tritanopia (blue-blind)
#4F6E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d731d;
/* rgb */ color: rgb(77, 115, 29);
/* oklch */ color: oklch(50.9% 0.121 130.6);
Tailwind
colors: {
  custom: {
    50: '#829b5f',
    500: '#4d731d',
    950: '#000000',
  },
}
SCSS
$custom: #4d731d;
$custom-light: #829b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d731d",
  "rgb": {
    "r": 77,
    "g": 115,
    "b": 29
  },
  "hsl": {
    "h": 86.512,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50895,
    "c": 0.1213,
    "h": 130.6
  },
  "luminance": 0.13928
}

Semantic roles & 50–950 ramp

primary
#4D731D
secondary
#7045A7
accent
#45E38B
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D731D

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

Preview Lab → · Contrast checker → · Palette generator →

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