#4E7E2C#4E7E2C

#4E7E2C is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 54.0% C 0.125 H 134.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4E7E2C
RGBrgb(78, 126, 44)
HSLhsl(95, 48%, 33%)
HSVhsv(95, 65%, 49%)
CMYKcmyk(38.1%, 0%, 65.1%, 50.6%)
CIE-LABlab(47.91, -31.39, 38.44)
CIE-LCHlch(47.91, 49.62, 129.23°)
OKLaboklab(54.03% -0.0874 0.0889)
OKLCHoklch(54.03% 0.125 134.5)
XYZxyz(11.0571, 16.7228, 5.0276)
Luminance0.1672 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7E2C #5C2C7E
analogous
#777E2C #4E7E2C #2C7E33
triadic
#4E7E2C #2C4E7E #7E2C4E
tetradic
#4E7E2C #2C777E #5C2C7E #7E332C
square
#4E7E2C #2C777E #5C2C7E #7E332C
split-complementary
#4E7E2C #332C7E #7E2C77
monochromatic
#16230C #32511C #4E7E2C #6AAB3C #89C75E

Accessibility & contrast

On white

4.83
#4E7E2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#4E7E2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7E2C
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7E2C#FFFFFF#000000##FFFFFF
##4E7E2C1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837422
Deuteranopia (green-blind)
#7C7032
Tritanopia (blue-blind)
#4D796D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e7e2c;
/* rgb */ color: rgb(78, 126, 44);
/* oklch */ color: oklch(54.0% 0.125 134.5);
Tailwind
colors: {
  custom: {
    50: '#83a469',
    500: '#4e7e2c',
    950: '#000000',
  },
}
SCSS
$custom: #4e7e2c;
$custom-light: #83a469;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7e2c",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 44
  },
  "hsl": {
    "h": 95.122,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54032,
    "c": 0.12463,
    "h": 134.5
  },
  "luminance": 0.16723
}

Semantic roles & 50–950 ramp

primary
#4E7E2C
secondary
#8A59AD
accent
#50D89F
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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