#4C7E10#4C7E10

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

Color values

HEX#4C7E10
RGBrgb(76, 126, 16)
HSLhsl(87, 77%, 28%)
HSVhsv(87, 87%, 49%)
CMYKcmyk(39.7%, 0%, 87.3%, 50.6%)
CIE-LABlab(47.62, -34.04, 48.49)
CIE-LCHlch(47.62, 59.24, 125.07°)
OKLaboklab(53.71% -0.0965 0.1058)
OKLCHoklch(53.71% 0.143 132.4)
XYZxyz(10.5347, 16.4951, 3.1189)
Luminance0.1650 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7E10 #42107E
analogous
#7E7910 #4C7E10 #157E10
triadic
#4C7E10 #104C7E #7E104C
tetradic
#4C7E10 #107E79 #42107E #7E1015
square
#4C7E10 #107E79 #42107E #7E1015
split-complementary
#4C7E10 #10157E #79107E
monochromatic
#101B03 #2B4809 #4C7E10 #6DB417 #8DE325

Accessibility & contrast

On white

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

On black

4.30
#4C7E10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4C7E10#FFFFFF#000000##FFFFFF
##4C7E101.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847300
Deuteranopia (green-blind)
#7D701E
Tritanopia (blue-blind)
#4D786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4c7e10;
/* rgb */ color: rgb(76, 126, 16);
/* oklch */ color: oklch(53.7% 0.143 132.4);
Tailwind
colors: {
  custom: {
    50: '#83a45b',
    500: '#4c7e10',
    950: '#000000',
  },
}
SCSS
$custom: #4c7e10;
$custom-light: #83a45b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7e10",
  "rgb": {
    "r": 76,
    "g": 126,
    "b": 16
  },
  "hsl": {
    "h": 87.273,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.53706,
    "c": 0.14321,
    "h": 132.4
  },
  "luminance": 0.16496
}

Semantic roles & 50–950 ramp

primary
#4C7E10
secondary
#6F36B4
accent
#34F48B
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F04
muted
#7C7F79

Preview Lab

Preview with #4C7E10

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

Preview Lab → · Contrast checker → · Palette generator →

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