#4D731E#4D731E

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

Color values

HEX#4D731E
RGBrgb(77, 115, 30)
HSLhsl(87, 59%, 28%)
HSVhsv(87, 74%, 45%)
CMYKcmyk(33%, 0%, 73.9%, 54.9%)
CIE-LABlab(44.14, -27.77, 40.58)
CIE-LCHlch(44.14, 49.17, 124.39°)
OKLaboklab(50.9% -0.0786 0.0914)
OKLCHoklch(50.9% 0.121 130.7)
XYZxyz(9.4256, 13.9327, 3.4207)
Luminance0.1393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D731E #441E73
analogous
#736E1E #4D731E #22731E
triadic
#4D731E #1E4D73 #731E4D
tetradic
#4D731E #1E736E #441E73 #731E22
square
#4D731E #1E736E #441E73 #731E22
split-complementary
#4D731E #1E2273 #6E1E73
monochromatic
#101806 #2C4211 #4D731E #6DA42B #8DCD3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D731E#FFFFFF#000000##FFFFFF
##4D731E1.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)
#786A10
Deuteranopia (green-blind)
#736726
Tritanopia (blue-blind)
#4F6E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d731e;
/* rgb */ color: rgb(77, 115, 30);
/* oklch */ color: oklch(50.9% 0.121 130.7);
Tailwind
colors: {
  custom: {
    50: '#829b60',
    500: '#4d731e',
    950: '#000000',
  },
}
SCSS
$custom: #4d731e;
$custom-light: #829b60;
$custom-dark: #000000;
JSON
{
  "hex": "#4d731e",
  "rgb": {
    "r": 77,
    "g": 115,
    "b": 30
  },
  "hsl": {
    "h": 86.824,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50903,
    "c": 0.1206,
    "h": 130.7
  },
  "luminance": 0.13933
}

Semantic roles & 50–950 ramp

primary
#4D731E
secondary
#7146A7
accent
#46E28C
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D731E

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

Preview Lab → · Contrast checker → · Palette generator →

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