#4E7C22#4E7C22

#4E7C22 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.4% C 0.130 H 132.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4E7C22
RGBrgb(78, 124, 34)
HSLhsl(91, 57%, 31%)
HSVhsv(91, 73%, 49%)
CMYKcmyk(37.1%, 0%, 72.6%, 51.4%)
CIE-LABlab(47.17, -31.33, 42.04)
CIE-LCHlch(47.17, 52.43, 126.69°)
OKLaboklab(53.4% -0.088 0.0951)
OKLCHoklch(53.4% 0.13 132.8)
XYZxyz(10.6381, 16.1500, 4.0698)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7C22 #50227C
analogous
#7B7C22 #4E7C22 #227C23
triadic
#4E7C22 #224E7C #7C224E
tetradic
#4E7C22 #227B7C #50227C #7C2322
square
#4E7C22 #227B7C #50227C #7C2322
split-complementary
#4E7C22 #23227C #7C227B
monochromatic
#121C08 #304C15 #4E7C22 #6CAC2F #8BCE4B

Accessibility & contrast

On white

4.96
#4E7C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#4E7C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7C22
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7C22#FFFFFF#000000##FFFFFF
##4E7C221.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817214
Deuteranopia (green-blind)
#7B6F2A
Tritanopia (blue-blind)
#4F776A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e7c22;
/* rgb */ color: rgb(78, 124, 34);
/* oklch */ color: oklch(53.4% 0.130 132.8);
Tailwind
colors: {
  custom: {
    50: '#83a263',
    500: '#4e7c22',
    950: '#000000',
  },
}
SCSS
$custom: #4e7c22;
$custom-light: #83a263;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7c22",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 90.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53402,
    "c": 0.1296,
    "h": 132.8
  },
  "luminance": 0.1615
}

Semantic roles & 50–950 ramp

primary
#4E7C22
secondary
#7E4BAF
accent
#48E096
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4E7C22

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

Preview Lab → · Contrast checker → · Palette generator →

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