#4E7A22#4E7A22

#4E7A22 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.9% C 0.127 H 132.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4E7A22
RGBrgb(78, 122, 34)
HSLhsl(90, 56%, 31%)
HSVhsv(90, 72%, 48%)
CMYKcmyk(36.1%, 0%, 72.1%, 52.2%)
CIE-LABlab(46.52, -30.40, 41.37)
CIE-LCHlch(46.52, 51.34, 126.31°)
OKLaboklab(52.87% -0.0855 0.0937)
OKLCHoklch(52.87% 0.127 132.4)
XYZxyz(10.3900, 15.6538, 3.9871)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7A22 #4E227A
analogous
#7A7A22 #4E7A22 #227A22
triadic
#4E7A22 #224E7A #7A224E
tetradic
#4E7A22 #227A7A #4E227A #7A2222
square
#4E7A22 #227A7A #4E227A #7A2222
split-complementary
#4E7A22 #22227A #7A227A
monochromatic
#111A07 #2F4A15 #4E7A22 #6DAA2F #8BCD4A

Accessibility & contrast

On white

5.08
#4E7A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#4E7A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7A22
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7A22#FFFFFF#000000##FFFFFF
##4E7A221.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7014
Deuteranopia (green-blind)
#796D2A
Tritanopia (blue-blind)
#4F7568
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e7a22;
/* rgb */ color: rgb(78, 122, 34);
/* oklch */ color: oklch(52.9% 0.127 132.4);
Tailwind
colors: {
  custom: {
    50: '#83a163',
    500: '#4e7a22',
    950: '#000000',
  },
}
SCSS
$custom: #4e7a22;
$custom-light: #83a163;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7a22",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 90,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52869,
    "c": 0.12685,
    "h": 132.4
  },
  "luminance": 0.15654
}

Semantic roles & 50–950 ramp

primary
#4E7A22
secondary
#7C4BAD
accent
#48E094
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F05
muted
#7C7E7A

Preview Lab

Preview with #4E7A22

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

Preview Lab → · Contrast checker → · Palette generator →

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