#4E6D21#4E6D21

#4E6D21 is a mid, moderate yellow-green. Relative luminance 0.127; OKLCH L 49.4% C 0.109 H 128.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4E6D21
RGBrgb(78, 109, 33)
HSLhsl(84, 54%, 28%)
HSVhsv(84, 70%, 43%)
CMYKcmyk(28.4%, 0%, 69.7%, 57.3%)
CIE-LABlab(42.26, -24.18, 37.37)
CIE-LCHlch(42.26, 44.51, 122.91°)
OKLaboklab(49.4% -0.0686 0.0852)
OKLCHoklch(49.4% 0.109 128.9)
XYZxyz(8.8850, 12.6666, 3.4153)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6D21 #40216D
analogous
#6D6621 #4E6D21 #286D21
triadic
#4E6D21 #214E6D #6D214E
tetradic
#4E6D21 #216D66 #40216D #6D2128
square
#4E6D21 #216D66 #40216D #6D2128
split-complementary
#4E6D21 #21286D #66216D
monochromatic
#111707 #2C3E13 #4E6D21 #709C2F #90C642

Accessibility & contrast

On white

5.94
#4E6D21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4E6D21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6D21
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6D21#FFFFFF#000000##FFFFFF
##4E6D211.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726517
Deuteranopia (green-blind)
#6E6327
Tritanopia (blue-blind)
#50685E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e6d21;
/* rgb */ color: rgb(78, 109, 33);
/* oklch */ color: oklch(49.4% 0.109 128.9);
Tailwind
colors: {
  custom: {
    50: '#829761',
    500: '#4e6d21',
    950: '#000000',
  },
}
SCSS
$custom: #4e6d21;
$custom-light: #829761;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6d21",
  "rgb": {
    "r": 78,
    "g": 109,
    "b": 33
  },
  "hsl": {
    "h": 84.474,
    "s": 53.521,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49399,
    "c": 0.10935,
    "h": 128.9
  },
  "luminance": 0.12667
}

Semantic roles & 50–950 ramp

primary
#4E6D21
secondary
#6D49A1
accent
#4BDD86
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #4E6D21

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

Preview Lab → · Contrast checker → · Palette generator →

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