#4C751F#4C751F

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

Color values

HEX#4C751F
RGBrgb(76, 117, 31)
HSLhsl(89, 58%, 29%)
HSVhsv(89, 74%, 46%)
CMYKcmyk(35%, 0%, 73.5%, 54.1%)
CIE-LABlab(44.74, -29.05, 40.76)
CIE-LCHlch(44.74, 50.06, 125.48°)
OKLaboklab(51.38% -0.082 0.092)
OKLCHoklch(51.38% 0.123 131.7)
XYZxyz(9.5890, 14.3577, 3.5621)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C751F #481F75
analogous
#75731F #4C751F #21751F
triadic
#4C751F #1F4C75 #751F4C
tetradic
#4C751F #1F7573 #481F75 #751F21
square
#4C751F #1F7573 #481F75 #751F21
split-complementary
#4C751F #1F2175 #731F75
monochromatic
#101806 #2D4512 #4C751F #6BA52C #8ACD42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C751F#FFFFFF#000000##FFFFFF
##4C751F1.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)
#7A6C11
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#4D7064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4c751f;
/* rgb */ color: rgb(76, 117, 31);
/* oklch */ color: oklch(51.4% 0.123 131.7);
Tailwind
colors: {
  custom: {
    50: '#829d60',
    500: '#4c751f',
    950: '#000000',
  },
}
SCSS
$custom: #4c751f;
$custom-light: #829d60;
$custom-dark: #000000;
JSON
{
  "hex": "#4c751f",
  "rgb": {
    "r": 76,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 88.605,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51383,
    "c": 0.12322,
    "h": 131.7
  },
  "luminance": 0.14358
}

Semantic roles & 50–950 ramp

primary
#4C751F
secondary
#7647A9
accent
#46E190
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C751F

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

Preview Lab → · Contrast checker → · Palette generator →

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