#4E7E28#4E7E28

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

Color values

HEX#4E7E28
RGBrgb(78, 126, 40)
HSLhsl(93, 52%, 33%)
HSVhsv(93, 68%, 49%)
CMYKcmyk(38.1%, 0%, 68.3%, 50.6%)
CIE-LABlab(47.87, -31.76, 40.21)
CIE-LCHlch(47.87, 51.24, 128.30°)
OKLaboklab(53.99% -0.0887 0.0921)
OKLCHoklch(53.99% 0.128 133.9)
XYZxyz(10.9855, 16.6941, 4.6505)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7E28 #58287E
analogous
#797E28 #4E7E28 #287E2D
triadic
#4E7E28 #284E7E #7E284E
tetradic
#4E7E28 #28797E #58287E #7E2D28
square
#4E7E28 #28797E #58287E #7E2D28
split-complementary
#4E7E28 #2D287E #7E2879
monochromatic
#14210B #315019 #4E7E28 #6BAC37 #8ACA57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7E28#FFFFFF#000000##FFFFFF
##4E7E281.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)
#83741D
Deuteranopia (green-blind)
#7C702F
Tritanopia (blue-blind)
#4E796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e7e28;
/* rgb */ color: rgb(78, 126, 40);
/* oklch */ color: oklch(54.0% 0.128 133.9);
Tailwind
colors: {
  custom: {
    50: '#83a467',
    500: '#4e7e28',
    950: '#000000',
  },
}
SCSS
$custom: #4e7e28;
$custom-light: #83a467;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7e28",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 40
  },
  "hsl": {
    "h": 93.488,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5399,
    "c": 0.12789,
    "h": 133.9
  },
  "luminance": 0.16695
}

Semantic roles & 50–950 ramp

primary
#4E7E28
secondary
#8653AF
accent
#4DDB9C
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7E28

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

Preview Lab → · Contrast checker → · Palette generator →

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