#4C7E13#4C7E13

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

Color values

HEX#4C7E13
RGBrgb(76, 126, 19)
HSLhsl(88, 74%, 28%)
HSVhsv(88, 85%, 49%)
CMYKcmyk(39.7%, 0%, 84.9%, 50.6%)
CIE-LABlab(47.63, -33.91, 47.70)
CIE-LCHlch(47.63, 58.52, 125.41°)
OKLaboklab(53.72% -0.096 0.1046)
OKLCHoklch(53.72% 0.142 132.5)
XYZxyz(10.5588, 16.5047, 3.2454)
Luminance0.1651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7E13 #45137E
analogous
#7E7A13 #4C7E13 #177E13
triadic
#4C7E13 #134C7E #7E134C
tetradic
#4C7E13 #137E7A #45137E #7E1317
square
#4C7E13 #137E7A #45137E #7E1317
split-complementary
#4C7E13 #13177E #7A137E
monochromatic
#101B04 #2C490B #4C7E13 #6CB31B #8CDF2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C7E13#FFFFFF#000000##FFFFFF
##4C7E131.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)
#7D7020
Tritanopia (blue-blind)
#4D786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4c7e13;
/* rgb */ color: rgb(76, 126, 19);
/* oklch */ color: oklch(53.7% 0.142 132.5);
Tailwind
colors: {
  custom: {
    50: '#83a45c',
    500: '#4c7e13',
    950: '#000000',
  },
}
SCSS
$custom: #4c7e13;
$custom-light: #83a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7e13",
  "rgb": {
    "r": 76,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 88.037,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5372,
    "c": 0.14197,
    "h": 132.5
  },
  "luminance": 0.16505
}

Semantic roles & 50–950 ramp

primary
#4C7E13
secondary
#7239B4
accent
#37F08E
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F04
muted
#7C7F79

Preview Lab

Preview with #4C7E13

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

Preview Lab → · Contrast checker → · Palette generator →

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