#4E7E2A#4E7E2A

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

Color values

HEX#4E7E2A
RGBrgb(78, 126, 42)
HSLhsl(94, 50%, 33%)
HSVhsv(94, 67%, 49%)
CMYKcmyk(38.1%, 0%, 66.7%, 50.6%)
CIE-LABlab(47.89, -31.58, 39.34)
CIE-LCHlch(47.89, 50.44, 128.76°)
OKLaboklab(54.01% -0.088 0.0905)
OKLCHoklch(54.01% 0.126 134.2)
XYZxyz(11.0204, 16.7081, 4.8344)
Luminance0.1671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7E2A #5A2A7E
analogous
#787E2A #4E7E2A #2A7E30
triadic
#4E7E2A #2A4E7E #7E2A4E
tetradic
#4E7E2A #2A787E #5A2A7E #7E302A
square
#4E7E2A #2A787E #5A2A7E #7E302A
split-complementary
#4E7E2A #302A7E #7E2A78
monochromatic
#15220B #32501B #4E7E2A #6AAC39 #89C85A

Accessibility & contrast

On white

4.84
#4E7E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E7E2A
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7E2A#FFFFFF#000000##FFFFFF
##4E7E2A1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741F
Deuteranopia (green-blind)
#7C7031
Tritanopia (blue-blind)
#4E796D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e7e2a;
/* rgb */ color: rgb(78, 126, 42);
/* oklch */ color: oklch(54.0% 0.126 134.2);
Tailwind
colors: {
  custom: {
    50: '#83a468',
    500: '#4e7e2a',
    950: '#000000',
  },
}
SCSS
$custom: #4e7e2a;
$custom-light: #83a468;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7e2a",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 94.286,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5401,
    "c": 0.12629,
    "h": 134.2
  },
  "luminance": 0.16709
}

Semantic roles & 50–950 ramp

primary
#4E7E2A
secondary
#8856AE
accent
#4EDA9E
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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