#4C7E19#4C7E19

#4C7E19 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.8% C 0.139 H 133.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4C7E19
RGBrgb(76, 126, 25)
HSLhsl(90, 67%, 30%)
HSVhsv(90, 80%, 49%)
CMYKcmyk(39.7%, 0%, 80.2%, 50.6%)
CIE-LABlab(47.66, -33.60, 45.86)
CIE-LCHlch(47.66, 56.85, 126.22°)
OKLaboklab(53.75% -0.0947 0.1017)
OKLCHoklch(53.75% 0.139 133)
XYZxyz(10.6167, 16.5279, 3.5503)
Luminance0.1653 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7E19 #4B197E
analogous
#7E7E19 #4C7E19 #1A7E19
triadic
#4C7E19 #194C7E #7E194C
tetradic
#4C7E19 #197E7E #4B197E #7E191A
square
#4C7E19 #197E7E #4B197E #7E191A
split-complementary
#4C7E19 #191A7E #7E197E
monochromatic
#0F1A05 #2D4B0F #4C7E19 #6BB123 #89D83A

Accessibility & contrast

On white

4.88
#4C7E19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#4C7E19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7E19
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7E19#FFFFFF#000000##FFFFFF
##4C7E191.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837400
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#4C796B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4c7e19;
/* rgb */ color: rgb(76, 126, 25);
/* oklch */ color: oklch(53.8% 0.139 133.0);
Tailwind
colors: {
  custom: {
    50: '#83a45f',
    500: '#4c7e19',
    950: '#000000',
  },
}
SCSS
$custom: #4c7e19;
$custom-light: #83a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7e19",
  "rgb": {
    "r": 76,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 89.703,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53754,
    "c": 0.13901,
    "h": 133
  },
  "luminance": 0.16528
}

Semantic roles & 50–950 ramp

primary
#4C7E19
secondary
#7941B2
accent
#3EEA93
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4C7E19

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

Preview Lab → · Contrast checker → · Palette generator →

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