#4E7222#4E7222

#4E7222 is a mid, moderate yellow-green. Relative luminance 0.138; OKLCH L 50.7% C 0.116 H 130.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4E7222
RGBrgb(78, 114, 34)
HSLhsl(87, 54%, 29%)
HSVhsv(87, 70%, 45%)
CMYKcmyk(31.6%, 0%, 70.2%, 55.3%)
CIE-LABlab(43.90, -26.58, 38.65)
CIE-LCHlch(43.90, 46.91, 124.51°)
OKLaboklab(50.74% -0.0751 0.088)
OKLCHoklch(50.74% 0.116 130.5)
XYZxyz(9.4479, 13.7695, 3.6731)
Luminance0.1377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7222 #462272
analogous
#726E22 #4E7222 #267222
triadic
#4E7222 #224E72 #72224E
tetradic
#4E7222 #22726E #462272 #722226
square
#4E7222 #22726E #462272 #722226
split-complementary
#4E7222 #222672 #6E2272
monochromatic
#101807 #2E4314 #4E7222 #6EA130 #8EC846

Accessibility & contrast

On white

5.59
#4E7222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4E7222 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7222
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7222#FFFFFF#000000##FFFFFF
##4E72221.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776917
Deuteranopia (green-blind)
#726729
Tritanopia (blue-blind)
#506D62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e7222;
/* rgb */ color: rgb(78, 114, 34);
/* oklch */ color: oklch(50.7% 0.116 130.5);
Tailwind
colors: {
  custom: {
    50: '#839a62',
    500: '#4e7222',
    950: '#000000',
  },
}
SCSS
$custom: #4e7222;
$custom-light: #839a62;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7222",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 34
  },
  "hsl": {
    "h": 87,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50738,
    "c": 0.11568,
    "h": 130.5
  },
  "luminance": 0.1377
}

Semantic roles & 50–950 ramp

primary
#4E7222
secondary
#734BA5
accent
#4ADD8D
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E7222

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

Preview Lab → · Contrast checker → · Palette generator →

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