#4E6721#4E6721

#4E6721 is a mid, moderate yellow-green. Relative luminance 0.114; OKLCH L 47.8% C 0.101 H 126.7°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#4E6721
RGBrgb(78, 103, 33)
HSLhsl(81, 51%, 27%)
HSVhsv(81, 68%, 40%)
CMYKcmyk(24.3%, 0%, 68%, 59.6%)
CIE-LABlab(40.30, -21.12, 35.28)
CIE-LCHlch(40.30, 41.12, 120.91°)
OKLaboklab(47.81% -0.0602 0.0808)
OKLCHoklch(47.81% 0.101 126.7)
XYZxyz(8.2667, 11.4299, 3.2092)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6721 #3A2167
analogous
#675D21 #4E6721 #2B6721
triadic
#4E6721 #214E67 #67214E
tetradic
#4E6721 #21675D #3A2167 #67212B
square
#4E6721 #21675D #3A2167 #67212B
split-complementary
#4E6721 #212B67 #5D2167
monochromatic
#121707 #2B3912 #4E6721 #719530 #94C240

Accessibility & contrast

On white

6.39
#4E6721 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4E6721 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6721
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6721#FFFFFF#000000##FFFFFF
##4E67211.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6018
Deuteranopia (green-blind)
#695F26
Tritanopia (blue-blind)
#516259
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e6721;
/* rgb */ color: rgb(78, 103, 33);
/* oklch */ color: oklch(47.8% 0.101 126.7);
Tailwind
colors: {
  custom: {
    50: '#829260',
    500: '#4e6721',
    950: '#000000',
  },
}
SCSS
$custom: #4e6721;
$custom-light: #829260;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6721",
  "rgb": {
    "r": 78,
    "g": 103,
    "b": 33
  },
  "hsl": {
    "h": 81.429,
    "s": 51.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47809,
    "c": 0.10072,
    "h": 126.7
  },
  "luminance": 0.1143
}

Semantic roles & 50–950 ramp

primary
#4E6721
secondary
#66499B
accent
#4DDB80
background
#F8F9F5
surface
#EFF1EA
border
#CACBC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #4E6721

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

Preview Lab → · Contrast checker → · Palette generator →

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