#4E7E22#4E7E22

#4E7E22 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.9% C 0.132 H 133.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4E7E22
RGBrgb(78, 126, 34)
HSLhsl(91, 58%, 31%)
HSVhsv(91, 73%, 49%)
CMYKcmyk(38.1%, 0%, 73%, 50.6%)
CIE-LABlab(47.82, -32.25, 42.71)
CIE-LCHlch(47.82, 53.52, 127.05°)
OKLaboklab(53.94% -0.0905 0.0965)
OKLCHoklch(53.94% 0.132 133.2)
XYZxyz(10.8913, 16.6564, 4.1542)
Luminance0.1666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7E22 #52227E
analogous
#7C7E22 #4E7E22 #227E24
triadic
#4E7E22 #224E7E #7E224E
tetradic
#4E7E22 #227C7E #52227E #7E2422
square
#4E7E22 #227C7E #52227E #7E2422
split-complementary
#4E7E22 #24227E #7E227C
monochromatic
#121E08 #304E15 #4E7E22 #6CAE2F #8ACF4C

Accessibility & contrast

On white

4.85
#4E7E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#4E7E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7E22
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7E22#FFFFFF#000000##FFFFFF
##4E7E221.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837413
Deuteranopia (green-blind)
#7D702A
Tritanopia (blue-blind)
#4E796C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7e22;
/* rgb */ color: rgb(78, 126, 34);
/* oklch */ color: oklch(53.9% 0.132 133.2);
Tailwind
colors: {
  custom: {
    50: '#84a463',
    500: '#4e7e22',
    950: '#000000',
  },
}
SCSS
$custom: #4e7e22;
$custom-light: #84a463;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7e22",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 91.304,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53936,
    "c": 0.13233,
    "h": 133.2
  },
  "luminance": 0.16657
}

Semantic roles & 50–950 ramp

primary
#4E7E22
secondary
#804BB1
accent
#47E197
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7E22

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

Preview Lab → · Contrast checker → · Palette generator →

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