#4E7A28#4E7A28

#4E7A28 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.9% C 0.122 H 133.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4E7A28
RGBrgb(78, 122, 40)
HSLhsl(92, 51%, 32%)
HSVhsv(92, 67%, 48%)
CMYKcmyk(36.1%, 0%, 67.2%, 52.2%)
CIE-LABlab(46.57, -29.89, 38.81)
CIE-LCHlch(46.57, 48.99, 127.60°)
OKLaboklab(52.93% -0.0836 0.0892)
OKLCHoklch(52.93% 0.122 133.2)
XYZxyz(10.4843, 15.6915, 4.4834)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7A28 #54287A
analogous
#777A28 #4E7A28 #287A2B
triadic
#4E7A28 #284E7A #7A284E
tetradic
#4E7A28 #28777A #54287A #7A2B28
square
#4E7A28 #28777A #54287A #7A2B28
split-complementary
#4E7A28 #2B287A #7A2877
monochromatic
#131E0A #314C19 #4E7A28 #6BA837 #8AC755

Accessibility & contrast

On white

5.07
#4E7A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#4E7A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7A28
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7A28#FFFFFF#000000##FFFFFF
##4E7A281.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711E
Deuteranopia (green-blind)
#796D2F
Tritanopia (blue-blind)
#4E7569
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e7a28;
/* rgb */ color: rgb(78, 122, 40);
/* oklch */ color: oklch(52.9% 0.122 133.2);
Tailwind
colors: {
  custom: {
    50: '#83a166',
    500: '#4e7a28',
    950: '#000000',
  },
}
SCSS
$custom: #4e7a28;
$custom-light: #83a166;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7a28",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 40
  },
  "hsl": {
    "h": 92.195,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52926,
    "c": 0.12224,
    "h": 133.2
  },
  "luminance": 0.15692
}

Semantic roles & 50–950 ramp

primary
#4E7A28
secondary
#8252AC
accent
#4EDA99
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #4E7A28

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

Preview Lab → · Contrast checker → · Palette generator →

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