#4C751E#4C751E

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

Color values

HEX#4C751E
RGBrgb(76, 117, 30)
HSLhsl(88, 59%, 29%)
HSVhsv(88, 74%, 46%)
CMYKcmyk(35%, 0%, 74.4%, 54.1%)
CIE-LABlab(44.73, -29.13, 41.16)
CIE-LCHlch(44.73, 50.42, 125.29°)
OKLaboklab(51.38% -0.0822 0.0927)
OKLCHoklch(51.38% 0.124 131.6)
XYZxyz(9.5760, 14.3525, 3.4938)
Luminance0.1435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C751E #471E75
analogous
#75731E #4C751E #21751E
triadic
#4C751E #1E4C75 #751E4C
tetradic
#4C751E #1E7573 #471E75 #751E21
square
#4C751E #1E7573 #471E75 #751E21
split-complementary
#4C751E #1E2175 #731E75
monochromatic
#101806 #2C4412 #4C751E #6CA62A #8BCE40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C751E#FFFFFF#000000##FFFFFF
##4C751E1.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)
#7A6C0F
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#4D7064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4c751e;
/* rgb */ color: rgb(76, 117, 30);
/* oklch */ color: oklch(51.4% 0.124 131.6);
Tailwind
colors: {
  custom: {
    50: '#829d60',
    500: '#4c751e',
    950: '#000000',
  },
}
SCSS
$custom: #4c751e;
$custom-light: #829d60;
$custom-dark: #000000;
JSON
{
  "hex": "#4c751e",
  "rgb": {
    "r": 76,
    "g": 117,
    "b": 30
  },
  "hsl": {
    "h": 88.276,
    "s": 59.184,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51375,
    "c": 0.12392,
    "h": 131.6
  },
  "luminance": 0.14353
}

Semantic roles & 50–950 ramp

primary
#4C751E
secondary
#7546A9
accent
#45E28F
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C751E

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

Preview Lab → · Contrast checker → · Palette generator →

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