#4C751C#4C751C

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

Color values

HEX#4C751C
RGBrgb(76, 117, 28)
HSLhsl(88, 61%, 28%)
HSVhsv(88, 76%, 46%)
CMYKcmyk(35%, 0%, 76.1%, 54.1%)
CIE-LABlab(44.72, -29.27, 41.94)
CIE-LCHlch(44.72, 51.14, 124.91°)
OKLaboklab(51.36% -0.0828 0.094)
OKLCHoklch(51.36% 0.125 131.4)
XYZxyz(9.5513, 14.3426, 3.3635)
Luminance0.1434 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C751C #451C75
analogous
#75711C #4C751C #20751C
triadic
#4C751C #1C4C75 #751C4C
tetradic
#4C751C #1C7571 #451C75 #751C20
square
#4C751C #1C7571 #451C75 #751C20
split-complementary
#4C751C #1C2075 #711C75
monochromatic
#101906 #2C4410 #4C751C #6CA628 #8CD03B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C751C#FFFFFF#000000##FFFFFF
##4C751C1.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)
#7A6C0B
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#4D7064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4c751c;
/* rgb */ color: rgb(76, 117, 28);
/* oklch */ color: oklch(51.4% 0.125 131.4);
Tailwind
colors: {
  custom: {
    50: '#829d5f',
    500: '#4c751c',
    950: '#000000',
  },
}
SCSS
$custom: #4c751c;
$custom-light: #829d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c751c",
  "rgb": {
    "r": 76,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 87.64,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51359,
    "c": 0.12525,
    "h": 131.4
  },
  "luminance": 0.14343
}

Semantic roles & 50–950 ramp

primary
#4C751C
secondary
#7244A9
accent
#43E48E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C751C

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

Preview Lab → · Contrast checker → · Palette generator →

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