#4C751D#4C751D

#4C751D is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.4% C 0.125 H 131.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#4C751D
RGBrgb(76, 117, 29)
HSLhsl(88, 60%, 29%)
HSVhsv(88, 75%, 46%)
CMYKcmyk(35%, 0%, 75.2%, 54.1%)
CIE-LABlab(44.73, -29.20, 41.55)
CIE-LCHlch(44.73, 50.78, 125.09°)
OKLaboklab(51.37% -0.0825 0.0934)
OKLCHoklch(51.37% 0.125 131.5)
XYZxyz(9.5635, 14.3474, 3.4276)
Luminance0.1435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C751D #461D75
analogous
#75721D #4C751D #20751D
triadic
#4C751D #1D4C75 #751D4C
tetradic
#4C751D #1D7572 #461D75 #751D20
square
#4C751D #1D7572 #461D75 #751D20
split-complementary
#4C751D #1D2075 #721D75
monochromatic
#101906 #2C4411 #4C751D #6CA629 #8BCF3D

Accessibility & contrast

On white

5.43
#4C751D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C751D
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C751D#FFFFFF#000000##FFFFFF
##4C751D1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C0D
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#4D7064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4c751d;
/* rgb */ color: rgb(76, 117, 29);
/* oklch */ color: oklch(51.4% 0.125 131.5);
Tailwind
colors: {
  custom: {
    50: '#829d5f',
    500: '#4c751d',
    950: '#000000',
  },
}
SCSS
$custom: #4c751d;
$custom-light: #829d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c751d",
  "rgb": {
    "r": 76,
    "g": 117,
    "b": 29
  },
  "hsl": {
    "h": 87.955,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51367,
    "c": 0.12459,
    "h": 131.5
  },
  "luminance": 0.14348
}

Semantic roles & 50–950 ramp

primary
#4C751D
secondary
#7345A9
accent
#44E38E
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C751D

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

Preview Lab → · Contrast checker → · Palette generator →

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