#4E6921#4E6921

#4E6921 is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.3% C 0.104 H 127.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#4E6921
RGBrgb(78, 105, 33)
HSLhsl(83, 52%, 27%)
HSVhsv(83, 69%, 41%)
CMYKcmyk(25.7%, 0%, 68.6%, 58.8%)
CIE-LABlab(40.95, -22.15, 35.98)
CIE-LCHlch(40.95, 42.25, 121.62°)
OKLaboklab(48.34% -0.063 0.0822)
OKLCHoklch(48.34% 0.104 127.5)
XYZxyz(8.4680, 11.8325, 3.2763)
Luminance0.1183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6921 #3C2169
analogous
#696021 #4E6921 #2A6921
triadic
#4E6921 #214E69 #69214E
tetradic
#4E6921 #216960 #3C2169 #69212A
square
#4E6921 #216960 #3C2169 #69212A
split-complementary
#4E6921 #212A69 #602169
monochromatic
#111707 #2B3A12 #4E6921 #719830 #92C341

Accessibility & contrast

On white

6.24
#4E6921 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4E6921 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6921
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6921#FFFFFF#000000##FFFFFF
##4E69211.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6218
Deuteranopia (green-blind)
#6B6027
Tritanopia (blue-blind)
#51645A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e6921;
/* rgb */ color: rgb(78, 105, 33);
/* oklch */ color: oklch(48.3% 0.104 127.5);
Tailwind
colors: {
  custom: {
    50: '#829460',
    500: '#4e6921',
    950: '#000000',
  },
}
SCSS
$custom: #4e6921;
$custom-light: #829460;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6921",
  "rgb": {
    "r": 78,
    "g": 105,
    "b": 33
  },
  "hsl": {
    "h": 82.5,
    "s": 52.174,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48339,
    "c": 0.10361,
    "h": 127.5
  },
  "luminance": 0.11833
}

Semantic roles & 50–950 ramp

primary
#4E6921
secondary
#68499D
accent
#4CDC82
background
#F8F9F5
surface
#EFF1EA
border
#CACBC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #4E6921

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

Preview Lab → · Contrast checker → · Palette generator →

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