#4E7229#4E7229

#4E7229 is a mid, moderate yellow-green. Relative luminance 0.138; OKLCH L 50.8% C 0.110 H 131.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#4E7229
RGBrgb(78, 114, 41)
HSLhsl(90, 47%, 30%)
HSVhsv(90, 64%, 45%)
CMYKcmyk(31.6%, 0%, 64%, 55.3%)
CIE-LABlab(43.97, -25.95, 35.49)
CIE-LCHlch(43.97, 43.96, 126.17°)
OKLaboklab(50.81% -0.0727 0.0823)
OKLCHoklch(50.81% 0.11 131.5)
XYZxyz(9.5593, 13.8141, 4.2601)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7229 #4D2972
analogous
#727129 #4E7229 #297229
triadic
#4E7229 #294E72 #72294E
tetradic
#4E7229 #297271 #4D2972 #722929
square
#4E7229 #297271 #4D2972 #722929
split-complementary
#4E7229 #292972 #712972
monochromatic
#101809 #2F4519 #4E7229 #6D9F39 #8BC154

Accessibility & contrast

On white

5.58
#4E7229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4E7229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7229
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7229#FFFFFF#000000##FFFFFF
##4E72291.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A21
Deuteranopia (green-blind)
#72672E
Tritanopia (blue-blind)
#4F6D62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e7229;
/* rgb */ color: rgb(78, 114, 41);
/* oklch */ color: oklch(50.8% 0.110 131.5);
Tailwind
colors: {
  custom: {
    50: '#829a66',
    500: '#4e7229',
    950: '#000000',
  },
}
SCSS
$custom: #4e7229;
$custom-light: #829a66;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7229",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 41
  },
  "hsl": {
    "h": 89.589,
    "s": 47.097,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50811,
    "c": 0.1098,
    "h": 131.5
  },
  "luminance": 0.13814
}

Semantic roles & 50–950 ramp

primary
#4E7229
secondary
#7B53A4
accent
#51D793
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E7229

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

Preview Lab → · Contrast checker → · Palette generator →

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