#4C7B1E#4C7B1E

#4C7B1E is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 53.0% C 0.132 H 132.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4C7B1E
RGBrgb(76, 123, 30)
HSLhsl(90, 61%, 30%)
HSVhsv(90, 76%, 48%)
CMYKcmyk(38.2%, 0%, 75.6%, 51.8%)
CIE-LABlab(46.71, -31.92, 43.13)
CIE-LCHlch(46.71, 53.66, 126.50°)
OKLaboklab(52.98% -0.0898 0.0968)
OKLCHoklch(52.98% 0.132 132.9)
XYZxyz(10.2976, 15.7957, 3.7343)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7B1E #4D1E7B
analogous
#7A7B1E #4C7B1E #1E7B1F
triadic
#4C7B1E #1E4C7B #7B1E4C
tetradic
#4C7B1E #1E7A7B #4D1E7B #7B1F1E
square
#4C7B1E #1E7A7B #4D1E7B #7B1F1E
split-complementary
#4C7B1E #1F1E7B #7B1E7A
monochromatic
#0F1906 #2E4A12 #4C7B1E #6AAC2A #89D142

Accessibility & contrast

On white

5.05
#4C7B1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#4C7B1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7B1E
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7B1E#FFFFFF#000000##FFFFFF
##4C7B1E1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710C
Deuteranopia (green-blind)
#7A6D27
Tritanopia (blue-blind)
#4C7669
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4c7b1e;
/* rgb */ color: rgb(76, 123, 30);
/* oklch */ color: oklch(53.0% 0.132 132.9);
Tailwind
colors: {
  custom: {
    50: '#82a161',
    500: '#4c7b1e',
    950: '#000000',
  },
}
SCSS
$custom: #4c7b1e;
$custom-light: #82a161;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7b1e",
  "rgb": {
    "r": 76,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 90.323,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.52983,
    "c": 0.13207,
    "h": 132.9
  },
  "luminance": 0.15796
}

Semantic roles & 50–950 ramp

primary
#4C7B1E
secondary
#7B46AE
accent
#44E495
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4C7B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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