#4C731D#4C731D

#4C731D is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.8% C 0.122 H 131.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4C731D
RGBrgb(76, 115, 29)
HSLhsl(87, 60%, 28%)
HSVhsv(87, 75%, 45%)
CMYKcmyk(33.9%, 0%, 74.8%, 54.9%)
CIE-LABlab(44.07, -28.25, 40.89)
CIE-LCHlch(44.07, 49.70, 124.64°)
OKLaboklab(50.83% -0.0799 0.092)
OKLCHoklch(50.83% 0.122 131)
XYZxyz(9.3329, 13.8864, 3.3508)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C731D #441D73
analogous
#736F1D #4C731D #21731D
triadic
#4C731D #1D4C73 #731D4C
tetradic
#4C731D #1D736F #441D73 #731D21
square
#4C731D #1D736F #441D73 #731D21
split-complementary
#4C731D #1D2173 #6F1D73
monochromatic
#101806 #2C4211 #4C731D #6CA429 #8CCE3C

Accessibility & contrast

On white

5.56
#4C731D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C731D
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C731D#FFFFFF#000000##FFFFFF
##4C731D1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c731d;
/* rgb */ color: rgb(76, 115, 29);
/* oklch */ color: oklch(50.8% 0.122 131.0);
Tailwind
colors: {
  custom: {
    50: '#829b5f',
    500: '#4c731d',
    950: '#000000',
  },
}
SCSS
$custom: #4c731d;
$custom-light: #829b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c731d",
  "rgb": {
    "r": 76,
    "g": 115,
    "b": 29
  },
  "hsl": {
    "h": 87.209,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50831,
    "c": 0.12186,
    "h": 131
  },
  "luminance": 0.13887
}

Semantic roles & 50–950 ramp

primary
#4C731D
secondary
#7145A7
accent
#45E38D
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C731D

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

Preview Lab → · Contrast checker → · Palette generator →

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