#4E7F22#4E7F22

#4E7F22 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.2% C 0.134 H 133.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4E7F22
RGBrgb(78, 127, 34)
HSLhsl(92, 58%, 32%)
HSVhsv(92, 73%, 50%)
CMYKcmyk(38.6%, 0%, 73.2%, 50.2%)
CIE-LABlab(48.15, -32.70, 43.04)
CIE-LCHlch(48.15, 54.06, 127.23°)
OKLaboklab(54.2% -0.0918 0.0972)
OKLCHoklch(54.2% 0.134 133.3)
XYZxyz(11.0198, 16.9134, 4.1971)
Luminance0.1691 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7F22 #53227F
analogous
#7D7F22 #4E7F22 #227F25
triadic
#4E7F22 #224E7F #7F224E
tetradic
#4E7F22 #227D7F #53227F #7F2522
square
#4E7F22 #227D7F #53227F #7F2522
split-complementary
#4E7F22 #25227F #7F227D
monochromatic
#131E08 #304F15 #4E7F22 #6CAF2F #8ACF4C

Accessibility & contrast

On white

4.79
#4E7F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#4E7F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7F22
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7F22#FFFFFF#000000##FFFFFF
##4E7F221.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847513
Deuteranopia (green-blind)
#7E712B
Tritanopia (blue-blind)
#4E7A6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e7f22;
/* rgb */ color: rgb(78, 127, 34);
/* oklch */ color: oklch(54.2% 0.134 133.3);
Tailwind
colors: {
  custom: {
    50: '#84a463',
    500: '#4e7f22',
    950: '#000000',
  },
}
SCSS
$custom: #4e7f22;
$custom-light: #84a463;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7f22",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 91.613,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54202,
    "c": 0.13369,
    "h": 133.3
  },
  "luminance": 0.16914
}

Semantic roles & 50–950 ramp

primary
#4E7F22
secondary
#814BB2
accent
#47E198
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7F22

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

Preview Lab → · Contrast checker → · Palette generator →

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