#4E7B28#4E7B28

#4E7B28 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.2% C 0.124 H 133.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4E7B28
RGBrgb(78, 123, 40)
HSLhsl(93, 51%, 32%)
HSVhsv(93, 67%, 48%)
CMYKcmyk(36.6%, 0%, 67.5%, 51.8%)
CIE-LABlab(46.89, -30.36, 39.16)
CIE-LCHlch(46.89, 49.55, 127.79°)
OKLaboklab(53.19% -0.0849 0.0899)
OKLCHoklch(53.19% 0.124 133.4)
XYZxyz(10.6077, 15.9384, 4.5246)
Luminance0.1594 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7B28 #55287B
analogous
#787B28 #4E7B28 #287B2C
triadic
#4E7B28 #284E7B #7B284E
tetradic
#4E7B28 #28787B #55287B #7B2C28
square
#4E7B28 #28787B #55287B #7B2C28
split-complementary
#4E7B28 #2C287B #7B2878
monochromatic
#131F0A #314D19 #4E7B28 #6BA937 #8AC856

Accessibility & contrast

On white

5.01
#4E7B28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#4E7B28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7B28
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7B28#FFFFFF#000000##FFFFFF
##4E7B281.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711D
Deuteranopia (green-blind)
#7A6E2F
Tritanopia (blue-blind)
#4E766A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e7b28;
/* rgb */ color: rgb(78, 123, 40);
/* oklch */ color: oklch(53.2% 0.124 133.4);
Tailwind
colors: {
  custom: {
    50: '#83a166',
    500: '#4e7b28',
    950: '#000000',
  },
}
SCSS
$custom: #4e7b28;
$custom-light: #83a166;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7b28",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 40
  },
  "hsl": {
    "h": 92.53,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53192,
    "c": 0.12367,
    "h": 133.4
  },
  "luminance": 0.15939
}

Semantic roles & 50–950 ramp

primary
#4E7B28
secondary
#8352AD
accent
#4DDA9A
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #4E7B28

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

Preview Lab → · Contrast checker → · Palette generator →

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