#4E7E2D#4E7E2D

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

Color values

HEX#4E7E2D
RGBrgb(78, 126, 45)
HSLhsl(96, 47%, 34%)
HSVhsv(96, 64%, 49%)
CMYKcmyk(38.1%, 0%, 64.3%, 50.6%)
CIE-LABlab(47.92, -31.29, 37.98)
CIE-LCHlch(47.92, 49.21, 129.48°)
OKLaboklab(54.04% -0.087 0.088)
OKLCHoklch(54.04% 0.124 134.7)
XYZxyz(11.0762, 16.7304, 5.1278)
Luminance0.1673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7E2D #5D2D7E
analogous
#767E2D #4E7E2D #2D7E35
triadic
#4E7E2D #2D4E7E #7E2D4E
tetradic
#4E7E2D #2D767E #5D2D7E #7E352D
square
#4E7E2D #2D767E #5D2D7E #7E352D
split-complementary
#4E7E2D #352D7E #7E2D76
monochromatic
#16240D #32511D #4E7E2D #6AAB3D #89C65F

Accessibility & contrast

On white

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

On black

4.35
#4E7E2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E7E2D#FFFFFF#000000##FFFFFF
##4E7E2D1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e7e2d;
/* rgb */ color: rgb(78, 126, 45);
/* oklch */ color: oklch(54.0% 0.124 134.7);
Tailwind
colors: {
  custom: {
    50: '#83a469',
    500: '#4e7e2d',
    950: '#000000',
  },
}
SCSS
$custom: #4e7e2d;
$custom-light: #83a469;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7e2d",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 95.556,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54043,
    "c": 0.12378,
    "h": 134.7
  },
  "luminance": 0.16731
}

Semantic roles & 50–950 ramp

primary
#4E7E2D
secondary
#8B5AAC
accent
#51D7A0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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