#4E7F2C#4E7F2C

#4E7F2C is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.3% C 0.126 H 134.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4E7F2C
RGBrgb(78, 127, 44)
HSLhsl(95, 49%, 34%)
HSVhsv(95, 65%, 50%)
CMYKcmyk(38.6%, 0%, 65.4%, 50.2%)
CIE-LABlab(48.23, -31.85, 38.79)
CIE-LCHlch(48.23, 50.19, 129.38°)
OKLaboklab(54.3% -0.0886 0.0896)
OKLCHoklch(54.3% 0.126 134.7)
XYZxyz(11.1856, 16.9798, 5.0704)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7F2C #5D2C7F
analogous
#777F2C #4E7F2C #2C7F33
triadic
#4E7F2C #2C4E7F #7F2C4E
tetradic
#4E7F2C #2C777F #5D2C7F #7F332C
square
#4E7F2C #2C777F #5D2C7F #7F332C
split-complementary
#4E7F2C #332C7F #7F2C77
monochromatic
#16240D #32521C #4E7F2C #6AAC3C #89C75E

Accessibility & contrast

On white

4.78
#4E7F2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#4E7F2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7F2C
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7F2C#FFFFFF#000000##FFFFFF
##4E7F2C1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847522
Deuteranopia (green-blind)
#7D7133
Tritanopia (blue-blind)
#4D7A6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e7f2c;
/* rgb */ color: rgb(78, 127, 44);
/* oklch */ color: oklch(54.3% 0.126 134.7);
Tailwind
colors: {
  custom: {
    50: '#83a469',
    500: '#4e7f2c',
    950: '#000000',
  },
}
SCSS
$custom: #4e7f2c;
$custom-light: #83a469;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7f2c",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 44
  },
  "hsl": {
    "h": 95.422,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54298,
    "c": 0.12606,
    "h": 134.7
  },
  "luminance": 0.1698
}

Semantic roles & 50–950 ramp

primary
#4E7F2C
secondary
#8B59AD
accent
#50D8A0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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